mirror of https://github.com/sveltejs/svelte
parent
9fb5350b2b
commit
b2d7d57b00
@ -0,0 +1,2 @@
|
|||||||
|
<svelte:element this="div" />
|
||||||
|
<svelte:element this=span>text</svelte:element>
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "svelte_element_invalid_this",
|
||||||
|
"message": "`this` should be an `{expression}`. Using a string attribute value will cause an error in future versions of Svelte",
|
||||||
|
"start": {
|
||||||
|
"column": 16,
|
||||||
|
"line": 1
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"column": 26,
|
||||||
|
"line": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "svelte_element_invalid_this",
|
||||||
|
"message": "`this` should be an `{expression}`. Using a string attribute value will cause an error in future versions of Svelte",
|
||||||
|
"start": {
|
||||||
|
"column": 16,
|
||||||
|
"line": 2
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"column": 25,
|
||||||
|
"line": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
Reference in new issue