hijrah-date icon indicating copy to clipboard operation
hijrah-date copied to clipboard

Cannot use with typescript

Open canbax opened this issue 3 years ago • 0 comments

I installed hijrah-date from npm using the command. npm i hijrah-date. It looks fine.

I'm using vuejs together with typescript. When I try to import this module I see a compile-time error on editor vscode.

Could not find a declaration file for module 'hijrah-date'. 'd:/yusuf/namaz-vakti/node_modules/hijrah-date/hijrah-date.js' implicitly has an 'any' type. Try npm i --save-dev @types/hijrah-date if it exists or add a new declaration (.d.ts) file containing declare module 'hijrah-date';Vetur(7016)

canbax avatar Dec 06 '20 13:12 canbax