For my project, I am using Vue JS 2 along with TypeScript. In order to achieve this, I need to import data.ts, methods.ts, and props.ts into my customComponent.vue file:
<!-- ////////////////////////////////////////////////////////////////////// -->
<script lang="ts">
import Vue from "vue";
import data from './data'
import props from './props'
import methods from './methods'
import { created, mounted } from './vue-hooks'
export default Vue.extend({
name: "custom-component"
});
</script>
What is the correct way to structure these TypeScript files so they can be imported successfully into the Vue custom component?