I'm using VSCode and TypeScript classes for Vue 2 component development. See: vuejs/vue-class-component.
In my current project I use plugins like vue-i18n for translations of labels etc. These plugins extend the Vue components with their own functions like this.$t(...) to get a translation by key, but VSCode doesn't recognize / doesn't no off these extensions (or are they mixins?) etc.
How can I learn VSCode that these extension functions exist and intellisense starts working? Can I create my own *.d.ts files? And if so, how can I hook these up so VSCode can find them for intellisense? Any example is welcome. Or link to some example Github repo where this is done?