Files
babel/packages/babel-plugin-transform-typeof-symbol
Nicolò Ribaudo 916429b516 Avoid compiling the _typeof helper with itself (#11049)
* Avoid compiling the typeof helper with itself

* Update fixtures
2020-01-27 22:02:34 +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