Skip to content

Could not find a declaration file for module '@colyseus/monitor'Β #5

Open
@dortamiguel

Description

@dortamiguel

I can see that the code of this library is typed but when I import this library with vscode I get this error:

Could not find a declaration file for module '@colyseus/monitor'. '/Users/miguel/src/later/node_modules/@colyseus/monitor/lib/index.js' implicitly has an 'any' type.
  Try `npm install @types/colyseus__monitor` if it exists or add a new declaration (.d.ts) file containing `declare module 'colyseus__monitor';`

I tried to run "npm install @types/colyseus__monitor" but it didn't worked

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