From f1195a16014cac8f331f80567ec90a5ba5be919c Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 22 Jul 2024 20:27:01 -0400 Subject: [PATCH] regenerate types --- packages/svelte/types/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index 86f33588a6..28b64db4bf 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -948,6 +948,7 @@ declare module 'svelte/compiler' { /** * If this is set, all references should use this expression instead of the identifier name. * If a function is given, it will be called with the identifier at that location and should return the new expression. + * @deprecated use `state.getters.get(binding)` instead */ expression: Expression | ((id: Identifier) => Expression) | null; /** If this is set, all mutations should use this expression */