We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a2943 commit eaff971Copy full SHA for eaff971
packages/svelte/src/compiler/phases/1-parse/acorn.js
@@ -10,7 +10,7 @@ const ParserWithTS = acorn.Parser.extend(tsPlugin({ allowSatisfies: true }));
10
/**
11
* @param {string} source
12
* @param {boolean} typescript
13
- * @param {boolean} is_script
+ * @param {boolean} [is_script]
14
*/
15
export function parse(source, typescript, is_script) {
16
const parser = typescript ? ParserWithTS : acorn.Parser;
0 commit comments