Skip to content

Could not find a declaration file for module 'troika-three-text' #214

@yoavmil

Description

@yoavmil

Can't import troika-three-text in my Angular project:

Error TS7016: Could not find a declaration file for module 'troika-three-text'. 
'.../node_modules/troika-three-text/dist/troika-three-text.umd.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/troika-three-text` if it exists 
      or add a new declaration (.d.ts) file containing `declare module 'troika-three-text';`

Please advice.

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