Is there a way to create a file named vue-number.d.ts
containing the following declaration:
export type vueNumber = number | '';
and then use this type alias in multiple TypeScript modules?
If I attempt to do so, the import statement gives an error:
'vue-number.d.ts' is not a module
How can I properly export and import a TypeScript type so that I can use it as if it were declared in the same module, like this: let age: vueNumber = '';
?