From 5d7c3a6316f46c65d84cf82f5dc7768dd8fb9b8a Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 25 Feb 2026 12:59:30 -0500 Subject: [PATCH] gah --- documentation/docs/07-misc/01-best-practices.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/docs/07-misc/01-best-practices.md b/documentation/docs/07-misc/01-best-practices.md index 1afba7a8c8..02c97af185 100644 --- a/documentation/docs/07-misc/01-best-practices.md +++ b/documentation/docs/07-misc/01-best-practices.md @@ -16,6 +16,8 @@ To compute something from state, use `$derived` rather than `$effect`: ```js // @errors: 2451 +declare let num: number; +// ---cut--- // do this let square = $derived(num * num);