From 968b68565bbb02a5487ef026f791a16685b1891e Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 24 Jul 2024 12:36:43 -0400 Subject: [PATCH] regenerate types --- packages/svelte/types/index.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index 62705db8c6..3b64e6501b 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -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; + declarators: Map; /** * A set of all the names referenced with this scope * — useful for generating unique names * */ references: Map; /** @@ -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; - unique(preferred_name: string): import("estree").Identifier; + unique(preferred_name: string): Identifier; } namespace Css { export interface BaseNode {