File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,8 @@ const {
113
113
* `module` is `true` if the value is declared in a `context="module"` script
114
114
* `mutated` is `true` if the value's properties are assigned to inside the component
115
115
* `reassigned` is `true` if the value is reassigned inside the component
116
- * `referenced` is `true` if the value is used outside the declaration
116
+ * `referenced` is `true` if the value is used in the template
117
+ * `referenced_from_script` is `true` if the value is used in the `<script>` outside the declaration
117
118
* `writable` is `true` if the value was declared with `let` or `var` (but not `const`, `class` or `function`)
118
119
* ` stats ` is an object used by the Svelte developer team for diagnosing the compiler. Avoid relying on it to stay the same!
119
120
@@ -144,6 +145,7 @@ compiled: {
144
145
mutated: boolean,
145
146
reassigned: boolean,
146
147
referenced: boolean,
148
+ referenced_from_script: boolean,
147
149
writable: boolean
148
150
}>,
149
151
stats: {
You can’t perform that action at this time.
0 commit comments