I have made a new TypescriptToCS converter which is called TypescriptToCS2. I have tested it with lib.d.ts (commenting out all lines with keyof, because it is not supported). It works fine.