babel/packages/babel-plugin-syntax-decimal
Huáng Jùnliàng 059e9124ff
Add decimal parsing support (#11640)
* 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
2020-07-29 16:43:15 -04:00
..
2020-07-29 16:43:15 -04:00
2020-07-29 16:43:15 -04:00

@babel/plugin-syntax-decimal

Allow parsing of decimal

See our website @babel/plugin-syntax-decimal for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-syntax-decimal

or using yarn:

yarn add @babel/plugin-syntax-decimal --dev