babel/packages/babel-plugin-transform-typeof-symbol
Nicolò Ribaudo ea6a438315
Enable external-helpers by default in tests (#12911)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-02-26 23:33:26 +01:00
..
2021-02-03 01:59:31 +01:00

@babel/plugin-transform-typeof-symbol

This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)

See our website @babel/plugin-transform-typeof-symbol for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-transform-typeof-symbol

or using yarn:

yarn add @babel/plugin-transform-typeof-symbol --dev