This repo demonstrates web-platform-dx/web-features#1980 (comment)
yarn install
yarn tsc --build$ yarn tsc --build
node_modules/web-features/index.d.ts:1:32 - error TS2307: Cannot find module './types.quicktype' or its corresponding type declarations.
1 declare const browsers: import("./types.quicktype").Browsers, features: {
~~~~~~~~~~~~~~~~~~~
node_modules/web-features/index.d.ts:2:27 - error TS2834: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
2 [key: string]: import("./types").FeatureData | import("./types").FeatureMovedData | import("./types").FeatureSplitData;
~~~~~~~~~
node_modules/web-features/index.d.ts:2:59 - error TS2834: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
2 [key: string]: import("./types").FeatureData | import("./types").FeatureMovedData | import("./types").FeatureSplitData;
~~~~~~~~~
node_modules/web-features/index.d.ts:2:96 - error TS2834: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
2 [key: string]: import("./types").FeatureData | import("./types").FeatureMovedData | import("./types").FeatureSplitData;
~~~~~~~~~
node_modules/web-features/index.d.ts:4:27 - error TS2307: Cannot find module './types.quicktype' or its corresponding type declarations.
4 [key: string]: import("./types.quicktype").GroupData;
~~~~~~~~~~~~~~~~~~~
node_modules/web-features/index.d.ts:6:27 - error TS2307: Cannot find module './types.quicktype' or its corresponding type declarations.
6 [key: string]: import("./types.quicktype").SnapshotData;
~~~~~~~~~~~~~~~~~~~
Found 6 errors.