Skip to content

Cannot use with typescript #1

Description

@canbax

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions