From 8306ec0789854f9e04bc1708c4a7dc2afc1b4c90 Mon Sep 17 00:00:00 2001 From: Kevin <119447307+tokyob0t@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:50:00 -0300 Subject: docs: lua docs (#50) --- docs/guide/typescript/variable.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/guide/typescript/variable.md') diff --git a/docs/guide/typescript/variable.md b/docs/guide/typescript/variable.md index 2abacbd..e6f3434 100644 --- a/docs/guide/typescript/variable.md +++ b/docs/guide/typescript/variable.md @@ -35,7 +35,7 @@ Widget.Label({ ``` :::warning -Make sure to make the transform functions passed to `.as()` are pure. +Make sure to the transform functions you pass to `:as()` are pure. The `.get()` function can be called anytime by `astal` especially when `deriving`, so make sure there are no sideeffects. ::: @@ -126,7 +126,7 @@ const myvar = Variable("") ## Dispose if no longer needed -This will stop the interval and force exit the subprocess and disconnect gobjects. +This will stop the interval, force exit the subprocess and disconnect gobjects. ```js myVar.drop() -- cgit v1.2.3