@@ -746,7 +746,7 @@ declare module 'svelte/compiler' {
746746 * What the value was initialized with.
747747 * For destructured props such as `let { foo = 'bar' } = $props()` this is `'bar'` and not `$props()`
748748 */
749- initial : null | Expression | FunctionDeclaration | ClassDeclaration | ImportDeclaration ;
749+ initial : null | Expression | FunctionDeclaration | ClassDeclaration | ImportDeclaration | EachBlock ;
750750 is_called : boolean ;
751751 references : { node : Identifier ; path : SvelteNode [ ] } [ ] ;
752752 mutated : boolean ;
@@ -975,15 +975,15 @@ declare module 'svelte/compiler' {
975975 filename ?: string | undefined ;
976976 } | undefined ) : Promise < Processed > ;
977977 export class CompileError extends Error {
978-
978+
979979 constructor ( code : string , message : string , position : [ number , number ] | undefined ) ;
980-
980+
981981 filename : CompileError_1 [ 'filename' ] ;
982-
982+
983983 position : CompileError_1 [ 'position' ] ;
984-
984+
985985 start : CompileError_1 [ 'start' ] ;
986-
986+
987987 end : CompileError_1 [ 'end' ] ;
988988 code : string ;
989989 }
@@ -994,9 +994,9 @@ declare module 'svelte/compiler' {
994994 * */
995995 export const VERSION : string ;
996996 class Scope {
997-
997+
998998 constructor ( root : ScopeRoot , parent : Scope | null , porous : boolean ) ;
999-
999+
10001000 root : ScopeRoot ;
10011001 /**
10021002 * A map of every identifier declared by this scope, and all the
@@ -1020,25 +1020,25 @@ declare module 'svelte/compiler' {
10201020 * which is usually an error. Block statements do not increase this value
10211021 */
10221022 function_depth : number ;
1023-
1023+
10241024 declare ( node : import ( 'estree' ) . Identifier , kind : Binding [ 'kind' ] , declaration_kind : DeclarationKind , initial ?: null | import ( 'estree' ) . Expression | import ( 'estree' ) . FunctionDeclaration | import ( 'estree' ) . ClassDeclaration | import ( 'estree' ) . ImportDeclaration ) : Binding ;
10251025 child ( porous ?: boolean ) : Scope ;
1026-
1026+
10271027 generate ( preferred_name : string ) : string ;
1028-
1028+
10291029 get ( name : string ) : Binding | null ;
1030-
1030+
10311031 get_bindings ( node : import ( 'estree' ) . VariableDeclarator | LetDirective ) : Binding [ ] ;
1032-
1032+
10331033 owner ( name : string ) : Scope | null ;
1034-
1034+
10351035 reference ( node : import ( 'estree' ) . Identifier , path : SvelteNode [ ] ) : void ;
10361036 #private;
10371037 }
10381038 class ScopeRoot {
1039-
1039+
10401040 conflicts : Set < string > ;
1041-
1041+
10421042 unique ( preferred_name : string ) : import ( "estree" ) . Identifier ;
10431043 }
10441044 interface BaseNode {
@@ -2567,4 +2567,4 @@ declare function $inspect<T extends any[]>(
25672567 ...values : T
25682568) : { with : ( type : 'init' | 'update' , ...values : T ) => void } ;
25692569
2570- //# sourceMappingURL=index.d.ts.map
2570+ //# sourceMappingURL=index.d.ts.map
0 commit comments