V-calendar: Create typescript definition

Created on 31 Mar 2019  路  3Comments  路  Source: nathanreyes/v-calendar

It would be great to get a typescript definition of this library. Currently I have to create a dummy v-calendar.d.ts file but it would be better if it was added to https://github.com/DefinitelyTyped/DefinitelyTyped

Most helpful comment

@xFeXx Well if you use vue cli 3 (not sure where and how it works with other projects) you would create a file called v-calendar.d.ts in the \src with the following

declare module 'v-calendar';

Basically this just registers it so that typescript stops complaining when compiling but it does not provide any type help...

All 3 comments

I would love this too! @mika76 could you provide this dummy file?

@xFeXx Well if you use vue cli 3 (not sure where and how it works with other projects) you would create a file called v-calendar.d.ts in the \src with the following

declare module 'v-calendar';

Basically this just registers it so that typescript stops complaining when compiling but it does not provide any type help...

Thanks @mika76!
This helps while developing. I created the file in the wrong directory...

Still would it be nice to have this implemented, especially facing Vue 3.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bocanhcam picture bocanhcam  路  3Comments

knagyorg picture knagyorg  路  4Comments

redraw picture redraw  路  3Comments

miralize picture miralize  路  4Comments

thfontaine picture thfontaine  路  3Comments