Clément Billoré

Results 5 comments of Clément Billoré

Long time after, here's a reproductible example in v4.0.2. The problem is located at https://github.com/michaelkourlas/node-js2xmlparser/blob/master/src/main.ts#L176 : `stringify(value)` is sometimes called too early, before `typeHandlers` are handled. Description with examples: ```javascript...

Hum... since https://github.com/eslint-stylistic/eslint-stylistic/pull/793, we now have a deprecation message showing your intentions. But are you aware that some people using `@stylistic/eslint-plugin-js` instead the global `@stylistic/eslint-plugin` because it has far less...

These changes have to be reflected in Node's types too, because they use `Promise`, making them not compatible anymore since TS 5.8 was released : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/515f950351b890f8c45bbfcc793cdc9598da67e8/types/node/stream/web.d.ts#L100

Discussion opened here: https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/72102

IMO, if these changes really make sense, the problematic thing that causes frictions is the default type of the generic. Defining `Uint8Array` as `interface Uint8Array` instead of `interface Uint8Array` would...