diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
| commit | f06956efd2dc4bf77244a9fcce2b883a00b925af (patch) | |
| tree | 0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/@babel/parser/typings/babel-parser.d.ts | |
| parent | 8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff) | |
updated node modules
Diffstat (limited to 'node_modules/@babel/parser/typings/babel-parser.d.ts')
| -rw-r--r-- | node_modules/@babel/parser/typings/babel-parser.d.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node_modules/@babel/parser/typings/babel-parser.d.ts b/node_modules/@babel/parser/typings/babel-parser.d.ts index 37f4de1b..3a61f014 100644 --- a/node_modules/@babel/parser/typings/babel-parser.d.ts +++ b/node_modules/@babel/parser/typings/babel-parser.d.ts @@ -224,8 +224,9 @@ interface ParserOptions { createParenthesizedExpressions?: boolean; /** - * By default, `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`. + * The default is false in Babel 7 and true in Babel 8 * Set this to true to parse it as an `ImportExpression` node. + * Otherwise `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`. */ createImportExpressions?: boolean; } |
