oops, victim of find-replace

pull/12545/head
Rich Harris 2 years ago
parent ef978ce87e
commit 39a9187f7f

@ -1239,9 +1239,9 @@ declare module 'svelte/compiler' {
| LegacyCssNode | LegacyCssNode
| Text; | Text;
class Scope { class Scope {
constructor(root: ScopeRoot, parent: Scope | null, porous: boolean); constructor(root: ScopeRoot, parent: Scope | null, porous: boolean);
root: ScopeRoot; root: ScopeRoot;
/** /**
* The immediate parent scope * The immediate parent scope
@ -1269,25 +1269,25 @@ declare module 'svelte/compiler' {
* which is usually an error. Block statements do not increase this value * which is usually an error. Block statements do not increase this value
*/ */
function_depth: number; function_depth: number;
declare(node: Identifier, kind: Binding["kind"], declaration_kind: DeclarationKind, initial?: null | Expression | FunctionDeclaration | ClassDeclaration | ImportDeclaration | EachBlock): Binding; declare(node: Identifier, kind: Binding["kind"], declaration_kind: DeclarationKind, initial?: null | Expression | FunctionDeclaration | ClassDeclaration | ImportDeclaration | EachBlock): Binding;
child(porous?: boolean): Scope; child(porous?: boolean): Scope;
generate(preferred_name: string): string; generate(preferred_name: string): string;
get(name: string): Binding | null; get(name: string): Binding | null;
get_bindings(node: VariableDeclarator | LetDirective): Binding[]; get_bindings(node: VariableDeclarator | LetDirective): Binding[];
owner(name: string): Scope | null; owner(name: string): Scope | null;
reference(node: Identifier, path: SvelteNode[]): void; reference(node: Identifier, path: SvelteNode[]): void;
#private; #private;
} }
class ScopeRoot { class ScopeRoot {
conflicts: Set<string>; conflicts: Set<string>;
unique(preferred_name: string): Identifier; unique(preferred_name: string): Identifier;
} }
namespace Css { namespace Css {
@ -2188,21 +2188,21 @@ declare module 'svelte/reactivity' {
/** @deprecated Use `SvelteURLSearchParams` instead */ /** @deprecated Use `SvelteURLSearchParams` instead */
function URLSearchParams_1(): void; function URLSearchParams_1(): void;
export class SvelteDate extends Date { export class SvelteDate extends Date {
constructor(...params: any[]); constructor(...params: any[]);
#private; #private;
} }
export class SvelteSet<T> extends Set<T> { export class SvelteSet<T> extends Set<T> {
constructor(value?: Iterable<T> | null | undefined); constructor(value?: Iterable<T> | null | undefined);
add(value: T): this; add(value: T): this;
#private; #private;
} }
export class SvelteMap<K, V> extends Map<K, V> { export class SvelteMap<K, V> extends Map<K, V> {
constructor(value?: Iterable<readonly [K, V]> | null | undefined); constructor(value?: Iterable<readonly [K, V]> | null | undefined);
set(key: K, value: V): this; set(key: K, value: V): this;
#private; #private;
} }
@ -2212,7 +2212,7 @@ declare module 'svelte/reactivity' {
} }
const REPLACE: unique symbol; const REPLACE: unique symbol;
export class SvelteURLSearchParams extends URLSearchParams { export class SvelteURLSearchParams extends URLSearchParams {
[REPLACE](params: URLSearchParams): void; [REPLACE](params: URLSearchParams): void;
#private; #private;
} }
@ -3212,4 +3212,4 @@ declare function $inspect<T extends any[]>(
*/ */
declare function $host<El extends HTMLElement = HTMLElement>(): El; declare function $host<El extends HTMLElement = HTMLElement>(): El;
//# sourceMappingURL=index.d.ts.map //# sourceMappingURL=index.d.ts.map
Loading…
Cancel
Save