Skip to content

Could not find a declaration file for module '@babycommando/entity-db' #3

Open
@hbcondo

Description

@hbcondo

Thanks for creating entity-db! I'm anxious to try it out but keep running into this issue when following the readme:

  1. npm install @babycommando/entity-db
  2. import { EntityDB } from "@babycommando/entity-db
[{
	"resource": "/myproj/db.ts",
	"owner": "typescript",
	"code": "7016",
	"severity": 8,
	"message": "Could not find a declaration file for module '@babycommando/entity-db'. '/myproj/node_modules/@babycommando/entity-db/src/index.js' implicitly has an 'any' type.\n  Try `npm i --save-dev @types/babycommando__entity-db` if it exists or add a new declaration (.d.ts) file containing `declare module '@babycommando/entity-db';`",
	"source": "ts",
	"startLineNumber": 1,
	"startColumn": 20,
	"endLineNumber": 1,
	"endColumn": 45
}]

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