hijrah-date
hijrah-date copied to clipboard
Cannot use with typescript
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 containingdeclare module 'hijrah-date';
Vetur(7016)