@@ -746,7 +746,7 @@ declare module 'svelte/compiler' {
746
746
* What the value was initialized with.
747
747
* For destructured props such as `let { foo = 'bar' } = $props()` this is `'bar'` and not `$props()`
748
748
*/
749
- initial : null | Expression | FunctionDeclaration | ClassDeclaration | ImportDeclaration ;
749
+ initial : null | Expression | FunctionDeclaration | ClassDeclaration | ImportDeclaration | EachBlock ;
750
750
is_called : boolean ;
751
751
references : { node : Identifier ; path : SvelteNode [ ] } [ ] ;
752
752
mutated : boolean ;
@@ -975,15 +975,15 @@ declare module 'svelte/compiler' {
975
975
filename ?: string | undefined ;
976
976
} | undefined ) : Promise < Processed > ;
977
977
export class CompileError extends Error {
978
-
978
+
979
979
constructor ( code : string , message : string , position : [ number , number ] | undefined ) ;
980
-
980
+
981
981
filename : CompileError_1 [ 'filename' ] ;
982
-
982
+
983
983
position : CompileError_1 [ 'position' ] ;
984
-
984
+
985
985
start : CompileError_1 [ 'start' ] ;
986
-
986
+
987
987
end : CompileError_1 [ 'end' ] ;
988
988
code : string ;
989
989
}
@@ -994,9 +994,9 @@ declare module 'svelte/compiler' {
994
994
* */
995
995
export const VERSION : string ;
996
996
class Scope {
997
-
997
+
998
998
constructor ( root : ScopeRoot , parent : Scope | null , porous : boolean ) ;
999
-
999
+
1000
1000
root : ScopeRoot ;
1001
1001
/**
1002
1002
* A map of every identifier declared by this scope, and all the
@@ -1020,25 +1020,25 @@ declare module 'svelte/compiler' {
1020
1020
* which is usually an error. Block statements do not increase this value
1021
1021
*/
1022
1022
function_depth : number ;
1023
-
1023
+
1024
1024
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 ;
1025
1025
child ( porous ?: boolean ) : Scope ;
1026
-
1026
+
1027
1027
generate ( preferred_name : string ) : string ;
1028
-
1028
+
1029
1029
get ( name : string ) : Binding | null ;
1030
-
1030
+
1031
1031
get_bindings ( node : import ( 'estree' ) . VariableDeclarator | LetDirective ) : Binding [ ] ;
1032
-
1032
+
1033
1033
owner ( name : string ) : Scope | null ;
1034
-
1034
+
1035
1035
reference ( node : import ( 'estree' ) . Identifier , path : SvelteNode [ ] ) : void ;
1036
1036
#private;
1037
1037
}
1038
1038
class ScopeRoot {
1039
-
1039
+
1040
1040
conflicts : Set < string > ;
1041
-
1041
+
1042
1042
unique ( preferred_name : string ) : import ( "estree" ) . Identifier ;
1043
1043
}
1044
1044
interface BaseNode {
@@ -2567,4 +2567,4 @@ declare function $inspect<T extends any[]>(
2567
2567
...values : T
2568
2568
) : { with : ( type : 'init' | 'update' , ...values : T ) => void } ;
2569
2569
2570
- //# sourceMappingURL=index.d.ts.map
2570
+ //# sourceMappingURL=index.d.ts.map
0 commit comments