diff --git a/packages/babel-parser/typings/babel-parser.d.ts b/packages/babel-parser/typings/babel-parser.d.ts index d80fff653c30..f83e7a57a9cc 100644 --- a/packages/babel-parser/typings/babel-parser.d.ts +++ b/packages/babel-parser/typings/babel-parser.d.ts @@ -26,7 +26,8 @@ type Plugin = | "importMeta" | "jsx" | "logicalAssignment" - | "importAssertions" + | "importAssertions" // deprecated + | "importAttributes" | "importReflection" | "moduleBlocks" | "moduleStringNames" @@ -47,6 +48,7 @@ type Plugin = type ParserPluginWithOptions = | ["decorators", DecoratorsPluginOptions] | ["estree", { classFeatures?: boolean }] + | ["importAttributes", { deprecatedAssertSyntax: boolean }] // @deprecated | ["moduleAttributes", { version: "may-2020" }] | ["pipelineOperator", PipelineOperatorPluginOptions]