Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript support? #23

Open
gouku opened this issue May 24, 2023 · 0 comments
Open

TypeScript support? #23

gouku opened this issue May 24, 2023 · 0 comments

Comments

@gouku
Copy link

gouku commented May 24, 2023

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/[email protected]/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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant