mirror of https://github.com/sveltejs/svelte
Skip JS globals for InlineComponent nodes in warn_if_undefined. (#4071)
parent
2c9d864e33
commit
3433418dce
@ -0,0 +1,3 @@
|
||||
<div>
|
||||
<String/>
|
||||
</div>
|
@ -0,0 +1,15 @@
|
||||
[{
|
||||
"code": "missing-declaration",
|
||||
"message": "'String' is not defined. Consider adding a <script> block with 'export let String' to declare a prop",
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 1,
|
||||
"character": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 10,
|
||||
"character": 16
|
||||
},
|
||||
"pos": 7
|
||||
}]
|
Loading…
Reference in new issue