Skip to content

BUG:import type error in version ^13.0.10 & ^13.0.11 #809

Closed
@alaywn

Description

@alaywn

../node_modules/.pnpm/[email protected][email protected]/node_modules/swagger-typescript-api/index.d.ts:1:39 - error TS2307: Cannot find module './src/schema-parser/mono-schema-parser' or its corresponding type declarations.

1 import type { MonoSchemaParser } from "./src/schema-parser/mono-schema-parser";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/.pnpm/[email protected][email protected]/node_modules/swagger-typescript-api/index.d.ts:215:46 - error TS2307: Cannot find module './src/translators/translator' or its corresponding type declarations.

215 customTranslator?: new () => typeof import("./src/translators/translator").Translator;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/.pnpm/[email protected][email protected]/node_modules/swagger-typescript-api/index.d.ts:282:22 - error TS2307: Cannot find module './src/schema-parser/schema-parser' or its corresponding type declarations.

282 parser: import("./src/schema-parser/schema-parser").SchemaParser,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/.pnpm/[email protected][email protected]/node_modules/swagger-typescript-api/index.d.ts:369:28 - error TS2307: Cannot find module './src/code-gen-process' or its corresponding type declarations.

369 codeGenProcess: import("./src/code-gen-process").CodeGenProcess,
~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/.pnpm/[email protected][email protected]/node_modules/swagger-typescript-api/index.d.ts:660:24 - error TS2307: Cannot find module './src/translators/translator' or its corresponding type declarations.

660 ) => typeof import("./src/translators/translator").Translator;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/.pnpm/[email protected][email protected]/node_modules/swagger-typescript-api/index.d.ts:664:46 - error TS2307: Cannot find module './src/component-type-name-resolver' or its corresponding type declarations.

664 componentTypeNameResolver: typeof import("./src/component-type-name-resolver").ComponentTypeNameResolver;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 6 errors in the same file, starting at: ../node_modules/.pnpm/[email protected][email protected]/node_modules/swagger-typescript-api/index.d.ts:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions