* docs: add DecimalLiteral to AST spec * add decimal support * fix: throw invalid decimal on start * add DecimalLiteral type definitions * update parser typings * add generator support * add syntax-decimal plugin * Add syntax-decimal to babel-standalone * add syntax-decimal to missing plugin helpers * fix incorrect test macro
20 lines
353 B
Markdown
20 lines
353 B
Markdown
# @babel/plugin-syntax-decimal
|
|
|
|
> Allow parsing of decimal
|
|
|
|
See our website [@babel/plugin-syntax-decimal](https://babeljs.io/docs/en/next/babel-plugin-syntax-decimal.html) for more information.
|
|
|
|
## Install
|
|
|
|
Using npm:
|
|
|
|
```sh
|
|
npm install --save-dev @babel/plugin-syntax-decimal
|
|
```
|
|
|
|
or using yarn:
|
|
|
|
```sh
|
|
yarn add @babel/plugin-syntax-decimal --dev
|
|
```
|