Skip to content

Commit ffd4049

Browse files
authored
Fix code for manual run (#1291)
1 parent 65924ae commit ffd4049

File tree

1 file changed

+1
-1
lines changed
  • packages/lit-dev-content/site/docs/v3/data

1 file changed

+1
-1
lines changed

packages/lit-dev-content/site/docs/v3/data/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class MyElement extends LitElement {
306306
In manual mode you can provide new arguments directly to `run()`:
307307

308308
```ts
309-
this._task.run('arg1', 'arg2');
309+
this._task.run(['arg1', 'arg2']);
310310
```
311311

312312
If arguments are not provided to `run()`, they are gathered from the `args` callback.

0 commit comments

Comments
 (0)