@@ -980,15 +980,15 @@ declare module 'svelte/compiler' {
980
980
filename ?: string | undefined ;
981
981
} | undefined ) : Promise < Processed > ;
982
982
export class CompileError extends Error {
983
-
983
+
984
984
constructor ( code : string , message : string , position : [ number , number ] | undefined ) ;
985
-
985
+
986
986
filename : CompileError_1 [ 'filename' ] ;
987
-
987
+
988
988
position : CompileError_1 [ 'position' ] ;
989
-
989
+
990
990
start : CompileError_1 [ 'start' ] ;
991
-
991
+
992
992
end : CompileError_1 [ 'end' ] ;
993
993
code : string ;
994
994
}
@@ -999,9 +999,9 @@ declare module 'svelte/compiler' {
999
999
* */
1000
1000
export const VERSION : string ;
1001
1001
class Scope {
1002
-
1002
+
1003
1003
constructor ( root : ScopeRoot , parent : Scope | null , porous : boolean ) ;
1004
-
1004
+
1005
1005
root : ScopeRoot ;
1006
1006
/**
1007
1007
* A map of every identifier declared by this scope, and all the
@@ -1025,25 +1025,25 @@ declare module 'svelte/compiler' {
1025
1025
* which is usually an error. Block statements do not increase this value
1026
1026
*/
1027
1027
function_depth : number ;
1028
-
1028
+
1029
1029
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 | EachBlock ) : Binding ;
1030
1030
child ( porous ?: boolean ) : Scope ;
1031
-
1031
+
1032
1032
generate ( preferred_name : string ) : string ;
1033
-
1033
+
1034
1034
get ( name : string ) : Binding | null ;
1035
-
1035
+
1036
1036
get_bindings ( node : import ( 'estree' ) . VariableDeclarator | LetDirective ) : Binding [ ] ;
1037
-
1037
+
1038
1038
owner ( name : string ) : Scope | null ;
1039
-
1039
+
1040
1040
reference ( node : import ( 'estree' ) . Identifier , path : SvelteNode [ ] ) : void ;
1041
1041
#private;
1042
1042
}
1043
1043
class ScopeRoot {
1044
-
1044
+
1045
1045
conflicts : Set < string > ;
1046
-
1046
+
1047
1047
unique ( preferred_name : string ) : import ( "estree" ) . Identifier ;
1048
1048
}
1049
1049
interface BaseNode {
@@ -2640,4 +2640,4 @@ declare function $inspect<T extends any[]>(
2640
2640
...values : T
2641
2641
) : { with : ( fn : ( type : 'init' | 'update' , ...values : T ) => void ) => void } ;
2642
2642
2643
- //# sourceMappingURL=index.d.ts.map
2643
+ //# sourceMappingURL=index.d.ts.map
0 commit comments