-
-
Notifications
You must be signed in to change notification settings - Fork 188
/
expectedv2.json
57 lines (57 loc) · 3.37 KB
/
expectedv2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[
{
"range": {
"start": { "line": 36, "character": 1 },
"end": { "line": 36, "character": 11 }
},
"severity": 1,
"source": "ts",
"message": "Argument of type 'typeof DoesntWork' is not assignable to parameter of type 'ConstructorOfATypedSvelteComponent'.\n Type 'DoesntWork' is missing the following properties from type 'ATypedSvelteComponent': $$prop_def, $$events_def, $$slot_def, $on\n\nPossible causes:\n- You use the instance type of a component where you should use the constructor type\n- Type definitions are missing for this Svelte Component. If you are using Svelte 3.31+, use SvelteComponentTyped to add a definition:\n import type { SvelteComponentTyped } from \"svelte\";\n class ComponentName extends SvelteComponentTyped<{propertyName: string;}> {}",
"code": 2345,
"tags": []
},
{
"range": {
"start": { "line": 37, "character": 10 },
"end": { "line": 37, "character": 25 }
},
"severity": 1,
"source": "ts",
"message": "Type 'boolean' is not assignable to type 'never'.",
"code": 2322,
"tags": []
},
{
"range": {
"start": { "line": 38, "character": 24 },
"end": { "line": 38, "character": 34 }
},
"severity": 1,
"source": "ts",
"message": "Argument of type 'typeof DoesntWork' is not assignable to parameter of type 'ConstructorOfATypedSvelteComponent'.\n\nPossible causes:\n- You use the instance type of a component where you should use the constructor type\n- Type definitions are missing for this Svelte Component. If you are using Svelte 3.31+, use SvelteComponentTyped to add a definition:\n import type { SvelteComponentTyped } from \"svelte\";\n class ComponentName extends SvelteComponentTyped<{propertyName: string;}> {}",
"code": 2345,
"tags": []
},
{
"range": {
"start": { "line": 41, "character": 1 },
"end": { "line": 41, "character": 11 }
},
"severity": 1,
"source": "ts",
"message": "Argument of type 'typeof DoesntWork' is not assignable to parameter of type 'ConstructorOfATypedSvelteComponent'.\n\nPossible causes:\n- You use the instance type of a component where you should use the constructor type\n- Type definitions are missing for this Svelte Component. If you are using Svelte 3.31+, use SvelteComponentTyped to add a definition:\n import type { SvelteComponentTyped } from \"svelte\";\n class ComponentName extends SvelteComponentTyped<{propertyName: string;}> {}",
"code": 2345,
"tags": []
},
{
"range": {
"start": { "line": 44, "character": 24 },
"end": { "line": 44, "character": 34 }
},
"severity": 1,
"source": "ts",
"message": "Argument of type 'typeof DoesntWork' is not assignable to parameter of type 'ConstructorOfATypedSvelteComponent'.\n\nPossible causes:\n- You use the instance type of a component where you should use the constructor type\n- Type definitions are missing for this Svelte Component. If you are using Svelte 3.31+, use SvelteComponentTyped to add a definition:\n import type { SvelteComponentTyped } from \"svelte\";\n class ComponentName extends SvelteComponentTyped<{propertyName: string;}> {}",
"code": 2345,
"tags": []
}
]