Skip to content

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

@mastermatt

Description

@mastermatt

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");

Metadata

Metadata

Assignees

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