Skip to content

Cannot find name 'HeadersInit'. #1735

Closed
@kms0219kms

Description

@kms0219kms

Description

node_modules/.pnpm/openapi-fetch@0.10.2/node_modules/openapi-fetch/dist/index.d.ts:27:5 - error TS2304: Cannot find name 'HeadersInit'.

27   | HeadersInit
       ~~~~~~~~~~~


Found 1 error in node_modules/.pnpm/openapi-fetch@0.10.2/node_modules/openapi-fetch/dist/index.d.ts:27

 ELIFECYCLE  Command failed with exit code 1.
node:internal/modules/cjs/loader:1215
  throw err;
  ^

Reproduction

You can just write the code that simply request path using openapi-fetch, and try compile it using tsc to reproduction.

Expected result

Build successfully w/o any exceptions

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopenapi-fetchRelevant to the openapi-fetch library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions