ScalaTSI Scala TSI可以从您的Scala类自动生成Typescript接口。 安装 要使用项目,请在project/plugins.sbt添加SBT插件依赖项: // See badge above for latest version number addSbtPlugin( " com.scalatsi " % " sbt-scala-tsi " % " 0.4.1 " ) 并在您的项目中配置插件: // Replace with your project definition lazy val root = (project in file( " . " )) .enablePlugins( ScalaTsiPlugin ) .settings( // The classes that you want to generate ty