forked from sveltejs/language-tools
/
expected.json
112 lines (112 loc) · 3.7 KB
/
expected.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[
{
"range": {
"start": { "line": 12, "character": 19 },
"end": { "line": 12, "character": 20 }
},
"severity": 4,
"source": "ts",
"message": "Parameter 'e' implicitly has an 'any' type, but a better type may be inferred from usage.",
"code": 7044,
"tags": []
},
{
"range": {
"start": { "line": 21, "character": 19 },
"end": { "line": 21, "character": 20 }
},
"severity": 4,
"source": "ts",
"message": "Parameter 'e' implicitly has an 'any' type, but a better type may be inferred from usage.",
"code": 7044,
"tags": []
},
{
"range": {
"start": { "line": 11, "character": 5 },
"end": { "line": 11, "character": 12 }
},
"severity": 1,
"source": "ts",
"message": "Type '{ owntype: string; }' is not assignable to type 'HTMLProps<HTMLDivElement>'.\n Property 'owntype' does not exist on type 'HTMLProps<HTMLDivElement>'.",
"code": 2322,
"tags": []
},
{
"range": {
"start": { "line": 12, "character": 5 },
"end": { "line": 12, "character": 16 }
},
"severity": 1,
"source": "ts",
"message": "Type '{ onownclick: (e: any) => any; }' is not assignable to type 'HTMLProps<HTMLDivElement>'.\n Property 'onownclick' does not exist on type 'HTMLProps<HTMLDivElement>'. Did you mean 'onclick'?",
"code": 2322,
"tags": []
},
{
"range": {
"start": { "line": 19, "character": 5 },
"end": { "line": 19, "character": 12 }
},
"severity": 1,
"source": "ts",
"message": "Type '{ owntype: boolean; }' is not assignable to type 'HTMLProps<HTMLDivElement>'.\n Property 'owntype' does not exist on type 'HTMLProps<HTMLDivElement>'.",
"code": 2322,
"tags": []
},
{
"range": {
"start": { "line": 20, "character": 5 },
"end": { "line": 20, "character": 19 }
},
"severity": 1,
"source": "ts",
"message": "Type 'boolean' is not assignable to type 'string'.",
"code": 2322,
"tags": []
},
{
"range": {
"start": { "line": 21, "character": 5 },
"end": { "line": 21, "character": 16 }
},
"severity": 1,
"source": "ts",
"message": "Type '{ onownclick: (e: any) => any; }' is not assignable to type 'HTMLProps<HTMLDivElement>'.\n Property 'onownclick' does not exist on type 'HTMLProps<HTMLDivElement>'. Did you mean 'onclick'?",
"code": 2322,
"tags": []
},
{
"range": {
"start": { "line": 22, "character": 41 },
"end": { "line": 22, "character": 46 }
},
"severity": 1,
"source": "ts",
"message": "Property 'wrong' does not exist on type '{ foo: string; }'.",
"code": 2339,
"tags": []
},
{
"range": {
"start": { "line": 24, "character": 22 },
"end": { "line": 24, "character": 31 }
},
"severity": 1,
"source": "ts",
"message": "Type 'boolean' is not assignable to type 'string'.",
"code": 2322,
"tags": []
},
{
"range": {
"start": { "line": 25, "character": 22 },
"end": { "line": 25, "character": 32 }
},
"severity": 1,
"source": "ts",
"message": "Type '{ doesnexist: string; }' is not assignable to type '{ attribute?: string; }'.\n Property 'doesnexist' does not exist on type '{ attribute?: string; }'.",
"code": 2322,
"tags": []
}
]