有没有办法将 Scala 案例类导出到 d.ts (TypeScript)

gil*_*ran 5 scala case-class typescript

我想采用 Scala 案例类并将其导出到 d.ts(TypeScript 定义)文件中。是否可以?如果是这样,最好的方法是什么?

谢谢