Skip to content

Commit eaff971

Browse files
committed
tweak type
1 parent 61a2943 commit eaff971

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/1-parse

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/1-parse/acorn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const ParserWithTS = acorn.Parser.extend(tsPlugin({ allowSatisfies: true }));
1010
/**
1111
* @param {string} source
1212
* @param {boolean} typescript
13-
* @param {boolean} is_script
13+
* @param {boolean} [is_script]
1414
*/
1515
export function parse(source, typescript, is_script) {
1616
const parser = typescript ? ParserWithTS : acorn.Parser;

0 commit comments

Comments
 (0)