updated ParsePlugin type definition (#10259)
* added 'placeholders', 'logicalAssignment', 'partialApplication' to the ParserPlugin type. closes #10186 * put the ParserPlugin names in alphabetical order
This commit is contained in:
parent
4d30379d36
commit
f160522ab0
39
packages/babel-parser/typings/babel-parser.d.ts
vendored
39
packages/babel-parser/typings/babel-parser.d.ts
vendored
@ -95,32 +95,35 @@ export interface ParserOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type ParserPlugin =
|
export type ParserPlugin =
|
||||||
'estree' |
|
'asyncGenerators' |
|
||||||
'jsx' |
|
'bigInt' |
|
||||||
'flow' |
|
'classPrivateMethods' |
|
||||||
'flowComments' |
|
'classPrivateProperties' |
|
||||||
'typescript' |
|
'classProperties' |
|
||||||
'doExpressions' |
|
|
||||||
'objectRestSpread' |
|
|
||||||
'decorators' |
|
'decorators' |
|
||||||
'decorators-legacy' |
|
'decorators-legacy' |
|
||||||
'classProperties' |
|
'doExpressions' |
|
||||||
'classPrivateProperties' |
|
'dynamicImport' |
|
||||||
'classPrivateMethods' |
|
'estree' |
|
||||||
'exportDefaultFrom' |
|
'exportDefaultFrom' |
|
||||||
'exportNamespaceFrom' |
|
'exportNamespaceFrom' |
|
||||||
'asyncGenerators' |
|
'flow' |
|
||||||
|
'flowComments' |
|
||||||
'functionBind' |
|
'functionBind' |
|
||||||
'functionSent' |
|
'functionSent' |
|
||||||
'dynamicImport' |
|
|
||||||
'numericSeparator' |
|
|
||||||
'optionalChaining' |
|
|
||||||
'importMeta' |
|
'importMeta' |
|
||||||
'bigInt' |
|
'jsx' |
|
||||||
'optionalCatchBinding' |
|
'logicalAssignment' |
|
||||||
'throwExpressions' |
|
|
||||||
'pipelineOperator' |
|
|
||||||
'nullishCoalescingOperator' |
|
'nullishCoalescingOperator' |
|
||||||
|
'numericSeparator' |
|
||||||
|
'objectRestSpread' |
|
||||||
|
'optionalCatchBinding' |
|
||||||
|
'optionalChaining' |
|
||||||
|
'partialApplication' |
|
||||||
|
'pipelineOperator' |
|
||||||
|
'placeholders' |
|
||||||
|
'throwExpressions' |
|
||||||
|
'typescript' |
|
||||||
ParserPluginWithOptions;
|
ParserPluginWithOptions;
|
||||||
|
|
||||||
export type ParserPluginWithOptions =
|
export type ParserPluginWithOptions =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user