File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export function compileModule(source, options) {
7676 *
7777 * @overload
7878 * @param {string } source
79- * @param {{ filename?: string; modern: true } } options
79+ * @param {{ filename?: string; modern: true; loose?: boolean } } options
8080 * @returns {AST.Root }
8181 */
8282
@@ -88,7 +88,7 @@ export function compileModule(source, options) {
8888 *
8989 * @overload
9090 * @param {string } source
91- * @param {{ filename?: string; modern?: false } } [options]
91+ * @param {{ filename?: string; modern?: false; loose?: boolean } } [options]
9292 * @returns {Record<string, any> }
9393 */
9494
Original file line number Diff line number Diff line change @@ -632,6 +632,7 @@ declare module 'svelte/compiler' {
632632 export function parse ( source : string , options : {
633633 filename ?: string ;
634634 modern : true ;
635+ loose ?: boolean ;
635636 } ) : AST . Root ;
636637 /**
637638 * The parse function parses a component, returning only its abstract syntax tree.
@@ -643,6 +644,7 @@ declare module 'svelte/compiler' {
643644 export function parse ( source : string , options ?: {
644645 filename ?: string ;
645646 modern ?: false ;
647+ loose ?: boolean ;
646648 } | undefined ) : Record < string , any > ;
647649 /**
648650 * @deprecated Replace this with `import { walk } from 'estree-walker'`
You can’t perform that action at this time.
0 commit comments