types-b-gone
v0.1.0-dev.1
Published
Convert TypeScript to JavaScript in-place
Downloads
3
Readme
Types B'Gone!
[Work in Progress]
Converts your TypeScript code into JavaScript code in-place, in case you want drop TypeScript from your workflow.
Install
yarn global add types-b-gone
Usage - CLI
Single file:
types-b-gone < MyFile.ts > MyFile.js
rm MyFile.ts
Usage - Programatic
const bGone = require("types-b-gone");
bGone("function f<T>(): T {}"); // ==> "function f() {}"