标签: typescript c#-9.0 typewriter
我项目中的数据模型使用 C# 9.0 中的 "record" type。 就像这样:
public record Foo(IEnumerable<string> BarA, IEnumerable<string> BarB);
我不知道打字稿(我的前端代码)中对应模型应该使用什么类型。
下一个问题是我应该如何处理 TypeWriter 来处理这种数据类型。
非常感谢。