Skip to content

@types not working with 3.0.2 #657

@ldrick

Description

@ldrick

I encountered a couple of Errors saying things like:
ERROR in ./[...]/SimpleDateFormat.ts [tsl] ERROR in /home/[...]/SimpleDateFormat.ts(1,52) TS7016: Could not find a declaration file for module 'date-fns'. '/home/[...]/node_modules/date-fns/esm/index.js' implicitly has an 'any' type. Try npm install @types/date-fnsif it exists or add a new declaration (.d.ts) file containingdeclare module 'date-fns';
These @types are all installed and tsc is working smooth with them. Until today I used [email protected] and it worked. If you need further information, please come back to me, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions