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:
Letladi Sebesho 2019-07-26 10:22:23 +02:00 committed by Nicolò Ribaudo
parent 4d30379d36
commit f160522ab0

View File

@ -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 =