nuxt-community / moment-module

Efficient Moment.js integration for Nuxt
MIT License
195 stars 12 forks source link

feat(types): add typescript definitions #17

Closed mvrlin closed 5 years ago

kevinmarrec commented 5 years ago

@mvrlin Thanks for your PR !

Everything looks good, except I would keep types, even if It's only one file, under a types folder. And in package.json do "types": "types/index.d.ts" and "files": "types/*.d ts".