From a2e99449429054f93706d8fdc574aace48e52a47 Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Tue, 21 Nov 2023 15:30:21 +0000 Subject: [PATCH] update comment --- .../svelte/src/compiler/phases/3-transform/client/types.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/svelte/src/compiler/phases/3-transform/client/types.d.ts b/packages/svelte/src/compiler/phases/3-transform/client/types.d.ts index 2b5305d4c5..a58da4c4ec 100644 --- a/packages/svelte/src/compiler/phases/3-transform/client/types.d.ts +++ b/packages/svelte/src/compiler/phases/3-transform/client/types.d.ts @@ -20,8 +20,8 @@ export interface ClientTransformState extends TransformState { readonly in_constructor: boolean; /** - * `true` if the current lexical scope belongs to the alternate of an IfBlock. This - * allows us to hoist alternate if-blocks to the same scope as the original IfBlock. + * Contains the current lexical init statement block of the starting IfBlock in the case + * where we have many else-if blocks that can be hoisted. */ readonly else_if_init: null | Statement[];