microsoft / rushstack

Monorepo for tools developed by the Rush Stack community
https://rushstack.io/
Other
5.9k stars 595 forks source link

[api-extractor] support TS 4.4 `useUnknownInCatchVariables` compile flag #2907

Open Shinigami92 opened 3 years ago

Shinigami92 commented 3 years ago

Summary

Upgrade Vite to TS 4.4

Repro steps

Expected result: build successfully

Actual result: build not successfully

Details

See https://github.com/vitejs/vite/pull/4932

Standard questions

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

Question Answer
@microsoft/api-extractor version? 7.18.9
Operating system? all
API Extractor scenario? rollups (.d.ts) (I think :thinking:)
Would you consider contributing a PR? No
TypeScript compiler version? ^4.4
Node.js version (node -v)? irrelevant
Shinigami92 commented 3 years ago

It could be similar to https://github.com/microsoft/rushstack/issues/2715

Please notify me when this is updated/fixed so I can upgrade Vite.

Shinigami92 commented 3 years ago

Tracking https://github.com/microsoft/rushstack/blob/master/apps/api-extractor/CHANGELOG.md ...