Is there code generation API for TypeScript?

前端 未结 5 2262
不知归路
不知归路 2021-02-12 11:17

When I needed to generate some C# code, for example DTO classes from xsd schema, or an excel table, I\'ve used some roslyn API\'s.

Is there something simmilar for typescr

5条回答
  •  生来不讨喜
    2021-02-12 11:57

    Is there something simmilar for typescript

    Not yet, but the TypeScript team is opening up the emitter (what is that) for plugins that would make this a supported scenario : https://github.com/Microsoft/TypeScript/issues/5595

提交回复
热议问题