mirror of https://github.com/sveltejs/svelte
error on empty name in `class:` directive (#5939)
parent
b3431f9bf2
commit
acf60d88a0
@ -0,0 +1,10 @@
|
||||
{
|
||||
"code": "invalid-class-directive",
|
||||
"message": "Class binding name cannot be empty",
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 10,
|
||||
"character": 10
|
||||
},
|
||||
"pos": 10
|
||||
}
|
@ -0,0 +1 @@
|
||||
<h1 class:={true}>Hello</h1>
|
Loading…
Reference in new issue