Skip to content

Commit d410e45

Browse files
committed
regenerate types
1 parent 5eca169 commit d410e45

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

packages/svelte/types/index.d.ts

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,15 +1007,15 @@ declare module 'svelte/compiler' {
10071007
filename?: string | undefined;
10081008
} | undefined): Promise<Processed>;
10091009
export class CompileError extends Error {
1010-
1010+
10111011
constructor(code: string, message: string, position: [number, number] | undefined);
1012-
1012+
10131013
filename: CompileError_1['filename'];
1014-
1014+
10151015
position: CompileError_1['position'];
1016-
1016+
10171017
start: CompileError_1['start'];
1018-
1018+
10191019
end: CompileError_1['end'];
10201020
code: string;
10211021
}
@@ -1026,9 +1026,9 @@ declare module 'svelte/compiler' {
10261026
* */
10271027
export const VERSION: string;
10281028
class Scope {
1029-
1029+
10301030
constructor(root: ScopeRoot, parent: Scope | null, porous: boolean);
1031-
1031+
10321032
root: ScopeRoot;
10331033
/**
10341034
* A map of every identifier declared by this scope, and all the
@@ -1052,25 +1052,25 @@ declare module 'svelte/compiler' {
10521052
* which is usually an error. Block statements do not increase this value
10531053
*/
10541054
function_depth: number;
1055-
1055+
10561056
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;
10571057
child(porous?: boolean): Scope;
1058-
1058+
10591059
generate(preferred_name: string): string;
1060-
1060+
10611061
get(name: string): Binding | null;
1062-
1062+
10631063
get_bindings(node: import('estree').VariableDeclarator | LetDirective): Binding[];
1064-
1064+
10651065
owner(name: string): Scope | null;
1066-
1066+
10671067
reference(node: import('estree').Identifier, path: SvelteNode[]): void;
10681068
#private;
10691069
}
10701070
class ScopeRoot {
1071-
1071+
10721072
conflicts: Set<string>;
1073-
1073+
10741074
unique(preferred_name: string): import("estree").Identifier;
10751075
}
10761076
interface BaseNode {
@@ -2422,7 +2422,6 @@ declare module 'svelte/types/compiler/interfaces' {
24222422
* @default null
24232423
*/
24242424
cssOutputFilename?: string;
2425-
<<<<<<< HEAD
24262425
/**
24272426
* If `true`, compiles components with hot reloading support.
24282427
*
@@ -2433,8 +2432,6 @@ declare module 'svelte/types/compiler/interfaces' {
24332432
// Other Svelte 4 compiler options:
24342433
// enableSourcemap?: EnableSourcemap; // TODO bring back? https://github.com/sveltejs/svelte/pull/6835
24352434
// legacy?: boolean; // TODO compiler error noting the new purpose?
2436-
=======
2437-
>>>>>>> main
24382435
}
24392436

24402437
interface ModuleCompileOptions {
@@ -2668,4 +2665,4 @@ declare function $inspect<T extends any[]>(
26682665
...values: T
26692666
): { with: (fn: (type: 'init' | 'update', ...values: T) => void) => void };
26702667

2671-
//# sourceMappingURL=index.d.ts.map
2668+
//# sourceMappingURL=index.d.ts.map

0 commit comments

Comments
 (0)