Я хочу экспортировать несколько интерфейсов вместе с Component
из .vue
файла.
Basic.vue:
<template>
<div class="app">
<router-view></router-view>
</div>
</template>
<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
export interface IBasic {
name :string;
}
/**
* Simplest container
*/
@Component
export class Basic extends Vue {}
export default Basic;
</script>
Но когда я импортирую его из другого .ts
файла, я получаю:
![enter image description here](https://i.stack.imgur.com/txGd8.png)
Что я могу сделать, чтобы успешно импортировать интерфейс?