Skip to content

Missing types definitions #9

@rafaferry

Description

@rafaferry

Hey man,

Thank for this lib, the concept is awesome and it is exactly what I needed.

I'm having some trouble trying to use this on my project. I've installed it with npm install typescript-json-object-mapper --save

But when I try to import it, vscode shows me this error:

Could not find a declaration file for module 'typescript-json-object-mapper'. '/home/rafa/desenvolvimento/projetos/plataforma-indicadores/server/node_modules/typescript-json-object-mapper/build/index.js' implicitly has an 'any' type.
Try npm install @types/typescript-json-object-mapper if it exists or add a new declaration (.d.ts) file containing declare module 'typescript-json-object-mapper';ts(7016)

I am doing something wrong or the lib is missing the file type declarations? I could declare this module in a d.ts file with 'declare module 'typescript-json-object-mapper';' But since its a native typescript code, I think this should have type definitions for the lib types.

Thank you.

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