Skip to content

Could not find a declaration file for module './src/render/utils' #242

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

Closed
mastermatt opened this issue Apr 19, 2021 · 0 comments · Fixed by #245
Closed

Could not find a declaration file for module './src/render/utils' #242

mastermatt opened this issue Apr 19, 2021 · 0 comments · Fixed by #245
Assignees

Comments

@mastermatt
Copy link
Contributor

I have this error when noImplicitAny is enabled.

error TS7016: Could not find a declaration file for module './src/render/utils'. '.../node_modules/swagger-typescript-api/src/render/utils/index.js' implicitly has an 'any' type.

This line seems to be the only one that does a dynamic import of types from a JS file.

utils: typeof import("./src/render/utils");

@js2me js2me self-assigned this Apr 23, 2021
@js2me js2me linked a pull request Apr 23, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants