@@ -1007,15 +1007,15 @@ declare module 'svelte/compiler' {
1007
1007
filename ?: string | undefined ;
1008
1008
} | undefined ) : Promise < Processed > ;
1009
1009
export class CompileError extends Error {
1010
-
1010
+
1011
1011
constructor ( code : string , message : string , position : [ number , number ] | undefined ) ;
1012
-
1012
+
1013
1013
filename : CompileError_1 [ 'filename' ] ;
1014
-
1014
+
1015
1015
position : CompileError_1 [ 'position' ] ;
1016
-
1016
+
1017
1017
start : CompileError_1 [ 'start' ] ;
1018
-
1018
+
1019
1019
end : CompileError_1 [ 'end' ] ;
1020
1020
code : string ;
1021
1021
}
@@ -1026,9 +1026,9 @@ declare module 'svelte/compiler' {
1026
1026
* */
1027
1027
export const VERSION : string ;
1028
1028
class Scope {
1029
-
1029
+
1030
1030
constructor ( root : ScopeRoot , parent : Scope | null , porous : boolean ) ;
1031
-
1031
+
1032
1032
root : ScopeRoot ;
1033
1033
/**
1034
1034
* A map of every identifier declared by this scope, and all the
@@ -1052,25 +1052,25 @@ declare module 'svelte/compiler' {
1052
1052
* which is usually an error. Block statements do not increase this value
1053
1053
*/
1054
1054
function_depth : number ;
1055
-
1055
+
1056
1056
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 ;
1057
1057
child ( porous ?: boolean ) : Scope ;
1058
-
1058
+
1059
1059
generate ( preferred_name : string ) : string ;
1060
-
1060
+
1061
1061
get ( name : string ) : Binding | null ;
1062
-
1062
+
1063
1063
get_bindings ( node : import ( 'estree' ) . VariableDeclarator | LetDirective ) : Binding [ ] ;
1064
-
1064
+
1065
1065
owner ( name : string ) : Scope | null ;
1066
-
1066
+
1067
1067
reference ( node : import ( 'estree' ) . Identifier , path : SvelteNode [ ] ) : void ;
1068
1068
#private;
1069
1069
}
1070
1070
class ScopeRoot {
1071
-
1071
+
1072
1072
conflicts : Set < string > ;
1073
-
1073
+
1074
1074
unique ( preferred_name : string ) : import ( "estree" ) . Identifier ;
1075
1075
}
1076
1076
interface BaseNode {
@@ -2422,7 +2422,6 @@ declare module 'svelte/types/compiler/interfaces' {
2422
2422
* @default null
2423
2423
*/
2424
2424
cssOutputFilename ?: string ;
2425
- < < << << < HEAD
2426
2425
/**
2427
2426
* If `true`, compiles components with hot reloading support.
2428
2427
*
@@ -2433,8 +2432,6 @@ declare module 'svelte/types/compiler/interfaces' {
2433
2432
// Other Svelte 4 compiler options:
2434
2433
// enableSourcemap?: EnableSourcemap; // TODO bring back? https://github.com/sveltejs/svelte/pull/6835
2435
2434
// legacy?: boolean; // TODO compiler error noting the new purpose?
2436
- === === =
2437
- > >>> >>> main
2438
2435
}
2439
2436
2440
2437
interface ModuleCompileOptions {
@@ -2668,4 +2665,4 @@ declare function $inspect<T extends any[]>(
2668
2665
...values : T
2669
2666
) : { with : ( fn : ( type : 'init' | 'update' , ...values : T ) => void ) => void } ;
2670
2667
2671
- //# sourceMappingURL=index.d.ts.map
2668
+ //# sourceMappingURL=index.d.ts.map
0 commit comments