Skip to content

Commit 4a964a9

Browse files
committed
Add mutable option to reactive()
1 parent e1819c1 commit 4a964a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/reactivity/pluginApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface ReactivityPluginApi {
5858
* reactive(node, '.error');
5959
* }
6060
*/
61-
reactive(node: T.Node, path: string): void;
61+
reactive(node: T.Node, path: string, options?: { mutable?: boolean }): void;
6262

6363
/**
6464
* Convenience method for checking if a node is a call expression. If `primitive` is provided,

0 commit comments

Comments
 (0)