better-typescript-lib icon indicating copy to clipboard operation
better-typescript-lib copied to clipboard

Lib generator needs work to support TS 5.6

Open uhyo opened this issue 1 year ago • 0 comments
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!)

uhyo avatar Jul 27 '24 15:07 uhyo