From 35d990614414a9acb766600cfc0d133abfc04382 Mon Sep 17 00:00:00 2001 From: godzylinux Date: Wed, 8 May 2024 17:18:47 +0330 Subject: [PATCH] improved jsdocs for interceptors --- packages/svelte/src/reactivity/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/src/reactivity/utils.js b/packages/svelte/src/reactivity/utils.js index ad4c5a019f..af8eb35938 100644 --- a/packages/svelte/src/reactivity/utils.js +++ b/packages/svelte/src/reactivity/utils.js @@ -42,7 +42,7 @@ function get_this() { * @template {(keyof TEntityInstance)[]} TMutationProperties * @typedef {object} Options * @prop {TMutationProperties} mutation_properties - an array of property names on `TEntityInstance`. when calling a property on `TEntityInstance`, if the property name exists in this array, then mentioned property causes reactivity. - * @prop {Interceptors} [interceptors={}] - if the property names in `mutation_properties` shouldn't be always reactive, such calling `set.add(2)` twice, you can prevent the reactivity by returning false from these interceptors + * @prop {Interceptors} [interceptors={}] - if the property names in `mutation_properties` shouldn't be always reactive, such calling `set.add(2)` twice, you can prevent the reactivity by returning `false` from these interceptors */ /**