Skip to content

TypeScript support? #23

@gouku

Description

@gouku

I got the following error when use this package in a TypeScript project:

Could not find a declaration file for module 'dom-inspector'. '/Users/user/workspace/project/node_modules/.pnpm/dom-inspector@1.2.5/node_modules/dom-inspector/dist/dom-inspector.min.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/dom-inspector` if it exists or add a new declaration (.d.ts) file containing `declare module 'dom-inspector';`ts(7016)

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