warnings.json — svelte Source File
Architecture documentation for warnings.json, a json file in the svelte codebase.
Entity Profile
Source Code
[
{
"code": "state_referenced_locally",
"message": "This reference only captures the initial value of `count`. Did you mean to reference it inside a derived instead?",
"start": {
"column": 22,
"line": 5
},
"end": {
"column": 27,
"line": 5
}
},
{
"code": "state_referenced_locally",
"message": "This reference only captures the initial value of `count`. Did you mean to reference it inside a closure instead?",
"start": {
"column": 13,
"line": 8
},
"end": {
"column": 18,
"line": 8
}
},
{
"code": "state_referenced_locally",
"message": "This reference only captures the initial value of `doubled`. Did you mean to reference it inside a closure instead?",
"start": {
"column": 13,
"line": 9
},
"end": {
"column": 20,
"line": 9
}
},
{
"code": "state_referenced_locally",
"end": {
"column": 29,
"line": 15
},
"message": "This reference only captures the initial value of `prop`. Did you mean to reference it inside a closure instead?",
"start": {
"column": 25,
"line": 15
}
},
{
"code": "state_referenced_locally",
"end": {
"column": 17,
"line": 17
},
"message": "This reference only captures the initial value of `prop`. Did you mean to reference it inside a closure instead?",
"start": {
"column": 13,
"line": 17
}
},
{
"code": "state_referenced_locally",
"end": {
"column": 25,
"line": 18
},
"message": "This reference only captures the initial value of `prop_derived`. Did you mean to reference it inside a closure instead?",
"start": {
"column": 13,
"line": 18
}
}
]
Source
Frequently Asked Questions
What does warnings.json do?
warnings.json is a source file in the svelte codebase, written in json.
Where is warnings.json in the architecture?
warnings.json is located at packages/svelte/tests/validator/samples/static-state-reference/warnings.json (directory: packages/svelte/tests/validator/samples/static-state-reference).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free