regenerate types

pull/12581/head
Rich Harris 2 years ago
parent 3254cfde9f
commit 968b68565b

@ -582,7 +582,7 @@ declare module 'svelte/animate' {
}
declare module 'svelte/compiler' {
import type { AssignmentExpression, ClassDeclaration, Expression, FunctionDeclaration, Identifier, ImportDeclaration, ArrayExpression, MemberExpression, ObjectExpression, Pattern, ArrowFunctionExpression, VariableDeclaration, VariableDeclarator, FunctionExpression, Node, Program, ChainExpression, SimpleCallExpression } from 'estree';
import type { AssignmentExpression, ClassDeclaration, Expression, FunctionDeclaration, Identifier, ImportDeclaration, ArrayExpression, MemberExpression, ObjectExpression, Pattern, Node, VariableDeclarator, ArrowFunctionExpression, VariableDeclaration, FunctionExpression, Program, ChainExpression, SimpleCallExpression } from 'estree';
import type { SourceMap } from 'magic-string';
import type { Context } from 'zimmerframe';
import type { Location } from 'locate-character';
@ -1254,13 +1254,13 @@ declare module 'svelte/compiler' {
/**
* A map of declarators to the bindings they declare
* */
declarators: Map<import("estree").VariableDeclarator | LetDirective, Binding[]>;
declarators: Map<VariableDeclarator | LetDirective, Binding[]>;
/**
* A set of all the names referenced with this scope
* useful for generating unique names
* */
references: Map<string, {
node: import("estree").Identifier;
node: Identifier;
path: SvelteNode[];
}[]>;
/**
@ -1269,25 +1269,25 @@ declare module 'svelte/compiler' {
*/
function_depth: number;
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;
declare(node: Identifier, kind: Binding["kind"], declaration_kind: DeclarationKind, initial?: null | Expression | FunctionDeclaration | ClassDeclaration | ImportDeclaration | EachBlock): Binding;
child(porous?: boolean): Scope;
generate(preferred_name: string): string;
get(name: string): Binding | null;
get_bindings(node: import("estree").VariableDeclarator | LetDirective): Binding[];
get_bindings(node: VariableDeclarator | LetDirective): Binding[];
owner(name: string): Scope | null;
reference(node: import("estree").Identifier, path: SvelteNode[]): void;
reference(node: Identifier, path: SvelteNode[]): void;
#private;
}
class ScopeRoot {
conflicts: Set<string>;
unique(preferred_name: string): import("estree").Identifier;
unique(preferred_name: string): Identifier;
}
namespace Css {
export interface BaseNode {

Loading…
Cancel
Save