quasarframework / quasar-ui-qcalendar

QCalendar - Quasar App Extension, Vue CLI plug-in and UMD distributions available
https://quasarframework.github.io/quasar-ui-qcalendar
MIT License
421 stars 116 forks source link

Improved TypeScript support #386

Open septatrix opened 2 years ago

septatrix commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently typescript support only exists for the main index file. When importing components directly this feature is lost.

Describe the solution you'd like

Each output file should have a matching .d.ts file.

Describe alternatives you've considered

Alternatively a typescript rewrite might be advantageous, especially for the v4 branch which could use the improved and native ts support from vue 3 and its composition API. In conjunction with JSDoc it should also be possible to generate the Quasar JSON API from this to reduce duplication.