Changeset 0c6b92a for imaps-frontend/node_modules/@babel/parser/typings
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/@babel/parser/typings/babel-parser.d.ts
rd565449 r0c6b92a 1 1 // This file is auto-generated! Do not modify it directly. 2 /* eslint-disable @typescript-eslint/consistent-type-imports, prettier/prettier*/2 /* eslint-disable @typescript-eslint/consistent-type-imports, @typescript-eslint/no-redundant-type-constituents */ 3 3 import * as _babel_types from '@babel/types'; 4 5 type BABEL_8_BREAKING = false; 6 type IF_BABEL_7<V> = false extends BABEL_8_BREAKING ? V : never; 4 7 5 8 type Plugin = 6 9 | "asyncDoExpressions" 7 | "asyncGenerators"8 | "bigInt"9 | "classPrivateMethods"10 | "classPrivateProperties"11 | "classProperties"12 | "classStaticBlock" // Enabled by default13 | "decimal"10 | IF_BABEL_7<"asyncGenerators"> 11 | IF_BABEL_7<"bigInt"> 12 | IF_BABEL_7<"classPrivateMethods"> 13 | IF_BABEL_7<"classPrivateProperties"> 14 | IF_BABEL_7<"classProperties"> 15 | IF_BABEL_7<"classStaticBlock"> 16 | IF_BABEL_7<"decimal"> 14 17 | "decorators-legacy" 15 18 | "deferredImportEvaluation" 16 19 | "decoratorAutoAccessors" 17 20 | "destructuringPrivate" 21 | "deprecatedImportAssert" 18 22 | "doExpressions" 19 | "dynamicImport"23 | IF_BABEL_7<"dynamicImport"> 20 24 | "explicitResourceManagement" 21 25 | "exportDefaultFrom" 22 | "exportNamespaceFrom" // deprecated26 | IF_BABEL_7<"exportNamespaceFrom"> 23 27 | "flow" 24 28 | "flowComments" … … 27 31 | "importMeta" 28 32 | "jsx" 29 | "logicalAssignment"30 | "importAssertions" // deprecated31 | "importAttributes"32 | "importReflection"33 | IF_BABEL_7<"jsonStrings"> 34 | IF_BABEL_7<"logicalAssignment"> 35 | IF_BABEL_7<"importAssertions"> 36 | IF_BABEL_7<"importReflection"> 33 37 | "moduleBlocks" 34 | "moduleStringNames"35 | "nullishCoalescingOperator"36 | "numericSeparator"37 | "objectRestSpread"38 | "optionalCatchBinding"39 | "optionalChaining"38 | IF_BABEL_7<"moduleStringNames"> 39 | IF_BABEL_7<"nullishCoalescingOperator"> 40 | IF_BABEL_7<"numericSeparator"> 41 | IF_BABEL_7<"objectRestSpread"> 42 | IF_BABEL_7<"optionalCatchBinding"> 43 | IF_BABEL_7<"optionalChaining"> 40 44 | "partialApplication" 41 45 | "placeholders" 42 | "privateIn" // Enabled by default43 | "regexpUnicodeSets" // Enabled by default46 | IF_BABEL_7<"privateIn"> 47 | IF_BABEL_7<"regexpUnicodeSets"> 44 48 | "sourcePhaseImports" 45 49 | "throwExpressions" 46 | "topLevelAwait"50 | IF_BABEL_7<"topLevelAwait"> 47 51 | "v8intrinsic" 48 52 | ParserPluginWithOptions[0]; … … 51 55 | ["decorators", DecoratorsPluginOptions] 52 56 | ["estree", { classFeatures?: boolean }] 53 | ["importAttributes", { deprecatedAssertSyntax: boolean }] 54 // @deprecated 55 | ["moduleAttributes", { version: "may-2020" }] 57 | IF_BABEL_7<["importAttributes", { deprecatedAssertSyntax: boolean }]> 58 | IF_BABEL_7<["moduleAttributes", { version: "may-2020" }]> 56 59 | ["optionalChainingAssign", { version: "2023-07" }] 57 60 | ["pipelineOperator", PipelineOperatorPluginOptions] … … 68 71 69 72 interface PipelineOperatorPluginOptions { 70 proposal: "minimal" | "fsharp" | "hack" | "smart"; 73 proposal: BABEL_8_BREAKING extends false 74 ? "minimal" | "fsharp" | "hack" | "smart" 75 : "fsharp" | "hack"; 71 76 topicToken?: "%" | "#" | "@@" | "^^" | "^"; 72 77 } … … 76 81 } 77 82 78 interface FlowPluginOptions { 79 all?: boolean; 80 enums?: boolean; 81 } 83 type FlowPluginOptions = BABEL_8_BREAKING extends true 84 ? { 85 all?: boolean; 86 enums?: boolean; 87 } 88 : { 89 all?: boolean; 90 }; 82 91 83 92 interface TypeScriptPluginOptions { … … 182 191 183 192 /** 193 * By default, all source indexes start from 0. 194 * You can provide a start index to alternatively start with. 195 * Useful for integration with other source tools. 196 */ 197 startIndex?: number; 198 199 /** 184 200 * By default, the first line of code parsed is treated as line 1. 185 201 * You can provide a line number to alternatively start with.
Note:
See TracChangeset
for help on using the changeset viewer.