Ingvar Stepanyan

Results 1089 comments of Ingvar Stepanyan

Yeah I already have to normalise them while working on this, because raw Rust and C# outputs already differ.

> Edit: Nvm that's not related to this PR. @bfops So is this one good to go then?

I'm closing this since macro has been removed for now.

On the other hand, emitting classes makes it much harder to extend built-in types with optional extensions, since class declarations cannot be merged together, but interfaces can.

@saschanaz Yeah I'm trying to fix that right now actually, because ran into a problem with polyfilling static methods :) https://github.com/microsoft/TSJS-lib-generator/pull/812

To be clear - I came across this issue because I'd also be happy if there was a way to reduce all that clutter and just use `class`, but polyfilling...

Actually... I've just realised that something like this might work for extending statics: ```ts declare class Merge { x: string; static X: string; } interface Merge { y: string; }...

FWIW - just so that our work doesn't conflict - I'm giving this a try.

Update: I have a working implementation of this, but waiting for #813 to be merged first.