mirror of https://github.com/status-im/metro.git
Add `optionalChaining` as a valid babylon plugin option to flow typing
Reviewed By: rafeca Differential Revision: D7828243 fbshipit-source-id: 8b3cbaa8efb0f91263b3b09cbe012f8a5d8bfdbe
This commit is contained in:
parent
f64ed1369e
commit
7ab8d08f89
|
@ -26,17 +26,18 @@ type BabylonOptions = {
|
||||||
sourceType?: 'script' | 'module',
|
sourceType?: 'script' | 'module',
|
||||||
sourceFilename?: 'string',
|
sourceFilename?: 'string',
|
||||||
plugins?: Array<
|
plugins?: Array<
|
||||||
| 'jsx'
|
|
||||||
| 'flow'
|
|
||||||
| 'doExpressions'
|
|
||||||
| 'objectRestSpread'
|
|
||||||
| 'decorators'
|
|
||||||
| 'classProperties'
|
|
||||||
| 'exportExtensions'
|
|
||||||
| 'asyncGenerators'
|
| 'asyncGenerators'
|
||||||
|
| 'classProperties'
|
||||||
|
| 'decorators'
|
||||||
|
| 'doExpressions'
|
||||||
|
| 'dynamicImport'
|
||||||
|
| 'exportExtensions'
|
||||||
|
| 'flow'
|
||||||
| 'functionBind'
|
| 'functionBind'
|
||||||
| 'functionSent'
|
| 'functionSent'
|
||||||
| 'dynamicImport',
|
| 'jsx'
|
||||||
|
| 'objectRestSpread'
|
||||||
|
| 'optionalChaining',
|
||||||
>,
|
>,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue