-
Notifications
You must be signed in to change notification settings - Fork 680
Closed as not planned
Closed as not planned
Copy link
Description
I have created a test PR on the TypeScript DOM Generator, here: microsoft/TypeScript-DOM-lib-generator#2104
I have found multiple recurring issues, with Typescript-Go:
node_modules/bcd-idl-mapper/index.d.ts:1:28 - error TS2307: Cannot find module '@mdn/browser-compat-data/types' or its corresponding type declarations.
1 import { Identifier } from "@mdn/browser-compat-data/types";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/bcd-idl-mapper/index.d.ts:2:15 - error TS2307: Cannot find module '@mdn/browser-compat-data/types' or its corresponding type declarations.
2 export * from "@mdn/browser-compat-data/types";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/build/bcd.ts:6:8 - error TS2307: Cannot find module '@mdn/browser-compat-data/types' or its corresponding type declarations.
6 } from "@mdn/browser-compat-data/types";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/build/bcd/mapper.ts:2:3 - error TS2614: Module '"bcd-idl-mapper"' has no exported member 'BrowserName'. Did you mean to use 'import BrowserName from "bcd-idl-mapper"' instead?
2 BrowserName,
~~~~~~~~~~~
src/build/bcd/mapper.ts:3:3 - error TS2614: Module '"bcd-idl-mapper"' has no exported member 'CompatStatement'. Did you mean to use 'import CompatStatement from "bcd-idl-mapper"' instead?
3 CompatStatement,
~~~~~~~~~~~~~~~
src/build/bcd/mapper.ts:4:3 - error TS2614: Module '"bcd-idl-mapper"' has no exported member 'Identifier'. Did you mean to use 'import Identifier from "bcd-idl-mapper"' instead?
4 Identifier,
~~~~~~~~~~
src/build/bcd/mapper.ts:5:3 - error TS2614: Module '"bcd-idl-mapper"' has no exported member 'SimpleSupportStatement'. Did you mean to use 'import SimpleSupportStatement from "bcd-idl-mapper"' instead?
5 SimpleSupportStatement,
~~~~~~~~~~~~~~~~~~~~~~
src/build/bcd/stable.ts:1:40 - error TS2307: Cannot find module '@mdn/browser-compat-data/types' or its corresponding type declarations.
1 import { SimpleSupportStatement } from "@mdn/browser-compat-data/types";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 8 errors in 4 files.
The Issues are mainly with type declarations, and exported members
You can find the full report here:
https://github.com/Bashamega/TypeScript-DOM-lib-generator/actions/runs/16724919598/job/47337905310?pr=2104
Metadata
Metadata
Assignees
Labels
No labels