rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[api-extractor] Support verbatimModuleSyntax

Open Jack-Works opened this issue 2 years ago • 2 comments

Summary

Support verbatimModuleSyntax

Repro steps

Use TypeScript 5.0 with --verbatimModuleSyntax flag.

Expected result: Works

Actual result:

ERROR: Error parsing tsconfig.json content: Unknown compiler option 'verbatimModuleSyntax'.

Details

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/api-extractor version? 7.34.4
Operating system? Windows
API Extractor scenario? N/A
Would you consider contributing a PR? No
TypeScript compiler version? 5.0.1-rc
Node.js version (node -v)? v19.7.0

Jack-Works avatar Mar 07 '23 04:03 Jack-Works

@octogonz - any chance we already have plans to migrate API extractor to support TypeScript 5.0? This is the last thing blocking our team from upgrading and getting the ~10% build time boost from 5.0.

christiango avatar Mar 24 '23 11:03 christiango

This problem is especially relevant now that the @tsconfig bases contain verbatimModuleSyntax, causing any downstream project that uses API extractor to fail. Please consider prioritizing a fix for this, as it will likely soon affect vast swathes of the TypeScript ecosystem.

Zamiell avatar Mar 27 '23 19:03 Zamiell