2024.11.1-alpha.1920 • Published 8 months ago

@busybox/babel-preset-typescript v2024.11.1-alpha.1920

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@busybox/babel-preset-typescript

Babel preset for TypeScript.

Installation

npm install --save-dev @babel/core @babel/cli @busybox/babel-preset-typescript

Add babel.config.json Working Example:

{
  "presets": ["@busybox/babel-preset-typescript"]
}

Execute babel command by npx babel src --out-dir dist --extensions ".ts" to compile your code.