better-typescript-lib
better-typescript-lib copied to clipboard
Lib generator needs work to support TS 5.6
trafficstars
TS 5.6's lib.esnext.iterator.d.ts introduces a new way of defining type defintions (https://github.com/microsoft/TypeScript/pull/58222):
The lib .d.ts file itself is a module (due to existence of export {};) and uses a declare global block to define some premordial types.
Our lib generator needs to support this construct too. (and yes, there are several any in that file which I really want to alter!)