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 =
|
||||
'estree' |
|
||||
'jsx' |
|
||||
'flow' |
|
||||
'flowComments' |
|
||||
'typescript' |
|
||||
'doExpressions' |
|
||||
'objectRestSpread' |
|
||||
'asyncGenerators' |
|
||||
'bigInt' |
|
||||
'classPrivateMethods' |
|
||||
'classPrivateProperties' |
|
||||
'classProperties' |
|
||||
'decorators' |
|
||||
'decorators-legacy' |
|
||||
'classProperties' |
|
||||
'classPrivateProperties' |
|
||||
'classPrivateMethods' |
|
||||
'doExpressions' |
|
||||
'dynamicImport' |
|
||||
'estree' |
|
||||
'exportDefaultFrom' |
|
||||
'exportNamespaceFrom' |
|
||||
'asyncGenerators' |
|
||||
'flow' |
|
||||
'flowComments' |
|
||||
'functionBind' |
|
||||
'functionSent' |
|
||||
'dynamicImport' |
|
||||
'numericSeparator' |
|
||||
'optionalChaining' |
|
||||
'importMeta' |
|
||||
'bigInt' |
|
||||
'optionalCatchBinding' |
|
||||
'throwExpressions' |
|
||||
'pipelineOperator' |
|
||||
'jsx' |
|
||||
'logicalAssignment' |
|
||||
'nullishCoalescingOperator' |
|
||||
'numericSeparator' |
|
||||
'objectRestSpread' |
|
||||
'optionalCatchBinding' |
|
||||
'optionalChaining' |
|
||||
'partialApplication' |
|
||||
'pipelineOperator' |
|
||||
'placeholders' |
|
||||
'throwExpressions' |
|
||||
'typescript' |
|
||||
ParserPluginWithOptions;
|
||||
|
||||
export type ParserPluginWithOptions =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user