Skip to content

Commit d9b4815

Browse files
committed
Add mutable option to reactive()
1 parent 4ba0ca3 commit d9b4815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/reactivity/pluginApi.ts

+1-1
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)