From ffd404923fd8358a42345351f1056502eaf8428f Mon Sep 17 00:00:00 2001 From: Augustine Kim Date: Fri, 12 Jan 2024 13:54:15 -0800 Subject: [PATCH] Fix code for manual run (#1291) --- packages/lit-dev-content/site/docs/v3/data/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lit-dev-content/site/docs/v3/data/task.md b/packages/lit-dev-content/site/docs/v3/data/task.md index d33edfed0..f90af7ba4 100644 --- a/packages/lit-dev-content/site/docs/v3/data/task.md +++ b/packages/lit-dev-content/site/docs/v3/data/task.md @@ -306,7 +306,7 @@ class MyElement extends LitElement { In manual mode you can provide new arguments directly to `run()`: ```ts -this._task.run('arg1', 'arg2'); +this._task.run(['arg1', 'arg2']); ``` If arguments are not provided to `run()`, they are gathered from the `args` callback.