Skip to content

chemacortes/scala-js-ts-importer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Importer from TypeScript type definitions to Scala.js

This tool reads type definitions files written for TypeScript (.d.ts files) and rewrites them to .scala files usable with Scala.js.

The process is not 100 % accurate, so manual editing is often needed afterwards. This can be improved, but not to perfection, because the features offered by the type systems of TypeScript and Scala.js differ in some subtle ways.

Usage

$ sbt 'run somelib.d.ts SomeLib.scala'

License

The TypeScript Importer for Scala.js is distributed under the Scala License.

About

TypeScript Importer for Scala.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Scala 100.0%