Skip to content
TypeScript Importer for Scala.js
Scala
Branch: master
Clone or download

Latest commit

sjrd Merge pull request #109 from exoego/trailing-comma-in-args
Allow trailing comma in function type
Latest commit 8fe92ec Sep 9, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
samples
src
.gitignore
.travis.yml
README.md
build.sbt

README.md

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.

You can’t perform that action at this time.