1
- tests/cases/conformance/jsdoc/declarations/index.js(4,18): error TS1176: Interface declaration cannot have 'implements' clause .
2
- tests/cases/conformance/jsdoc/declarations/index.js(6,18): error TS1176: Interface declaration cannot have 'implements' clause .
3
- tests/cases/conformance/jsdoc/declarations/index.js(10,18): error TS1176: Interface declaration cannot have 'implements' clause .
4
- tests/cases/conformance/jsdoc/declarations/index.js(31,11): error TS1176: Interface declaration cannot have 'implements' clause .
5
- tests/cases/conformance/jsdoc/declarations/index.js(35,11): error TS1176: Interface declaration cannot have 'implements' clause .
6
- tests/cases/conformance/jsdoc/declarations/index.js(39,18): error TS1176: Interface declaration cannot have 'implements' clause .
7
- tests/cases/conformance/jsdoc/declarations/index.js(43,18): error TS1176: Interface declaration cannot have 'implements' clause .
8
- tests/cases/conformance/jsdoc/declarations/index.js(45,18): error TS1176: Interface declaration cannot have 'implements' clause .
9
- tests/cases/conformance/jsdoc/declarations/index.js(49,18): error TS1176: Interface declaration cannot have 'implements' clause .
10
- tests/cases/conformance/jsdoc/declarations/index.js(53,18): error TS1176: Interface declaration cannot have 'implements' clause .
11
- tests/cases/conformance/jsdoc/declarations/index.js(57,18): error TS1176: Interface declaration cannot have 'implements' clause .
12
- tests/cases/conformance/jsdoc/declarations/index.js(61,18): error TS1176: Interface declaration cannot have 'implements' clause .
13
- tests/cases/conformance/jsdoc/declarations/index.js(65,18): error TS1176: Interface declaration cannot have 'implements' clause .
14
- tests/cases/conformance/jsdoc/declarations/index.js(67,18): error TS1176: Interface declaration cannot have 'implements' clause .
15
- tests/cases/conformance/jsdoc/declarations/index.js(71,18): error TS1176: Interface declaration cannot have 'implements' clause .
16
- tests/cases/conformance/jsdoc/declarations/index.js(75,18): error TS1176: Interface declaration cannot have 'implements' clause .
17
- tests/cases/conformance/jsdoc/declarations/index.js(80,18): error TS1176: Interface declaration cannot have 'implements' clause .
18
- tests/cases/conformance/jsdoc/declarations/index.js(84,18): error TS1176: Interface declaration cannot have 'implements' clause .
19
- tests/cases/conformance/jsdoc/declarations/index.js(87,18): error TS1176: Interface declaration cannot have 'implements' clause .
20
- tests/cases/conformance/jsdoc/declarations/index.js(91,18): error TS1176: Interface declaration cannot have 'implements' clause .
21
- tests/cases/conformance/jsdoc/declarations/index.js(95,18): error TS1176: Interface declaration cannot have 'implements' clause .
22
- tests/cases/conformance/jsdoc/declarations/index.js(100,18): error TS1176: Interface declaration cannot have 'implements' clause .
23
- tests/cases/conformance/jsdoc/declarations/index.js(105,18): error TS1176: Interface declaration cannot have 'implements' clause .
24
- tests/cases/conformance/jsdoc/declarations/index.js(107,18): error TS1176: Interface declaration cannot have 'implements' clause .
25
- tests/cases/conformance/jsdoc/declarations/index.js(111,18): error TS1176: Interface declaration cannot have 'implements' clause .
26
- tests/cases/conformance/jsdoc/declarations/index.js(115,18): error TS1176: Interface declaration cannot have 'implements' clause .
1
+ tests/cases/conformance/jsdoc/declarations/index.js(4,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
2
+ tests/cases/conformance/jsdoc/declarations/index.js(6,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
3
+ tests/cases/conformance/jsdoc/declarations/index.js(10,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
4
+ tests/cases/conformance/jsdoc/declarations/index.js(31,11): error TS8006: 'interface' declarations can only be used in TypeScript files .
5
+ tests/cases/conformance/jsdoc/declarations/index.js(35,11): error TS8006: 'interface' declarations can only be used in TypeScript files .
6
+ tests/cases/conformance/jsdoc/declarations/index.js(39,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
7
+ tests/cases/conformance/jsdoc/declarations/index.js(43,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
8
+ tests/cases/conformance/jsdoc/declarations/index.js(45,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
9
+ tests/cases/conformance/jsdoc/declarations/index.js(49,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
10
+ tests/cases/conformance/jsdoc/declarations/index.js(53,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
11
+ tests/cases/conformance/jsdoc/declarations/index.js(57,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
12
+ tests/cases/conformance/jsdoc/declarations/index.js(61,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
13
+ tests/cases/conformance/jsdoc/declarations/index.js(65,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
14
+ tests/cases/conformance/jsdoc/declarations/index.js(67,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
15
+ tests/cases/conformance/jsdoc/declarations/index.js(71,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
16
+ tests/cases/conformance/jsdoc/declarations/index.js(75,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
17
+ tests/cases/conformance/jsdoc/declarations/index.js(80,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
18
+ tests/cases/conformance/jsdoc/declarations/index.js(84,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
19
+ tests/cases/conformance/jsdoc/declarations/index.js(87,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
20
+ tests/cases/conformance/jsdoc/declarations/index.js(91,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
21
+ tests/cases/conformance/jsdoc/declarations/index.js(95,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
22
+ tests/cases/conformance/jsdoc/declarations/index.js(100,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
23
+ tests/cases/conformance/jsdoc/declarations/index.js(105,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
24
+ tests/cases/conformance/jsdoc/declarations/index.js(107,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
25
+ tests/cases/conformance/jsdoc/declarations/index.js(111,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
26
+ tests/cases/conformance/jsdoc/declarations/index.js(115,18): error TS8006: 'interface' declarations can only be used in TypeScript files .
27
27
28
28
29
29
==== tests/cases/conformance/jsdoc/declarations/index.js (26 errors) ====
@@ -32,17 +32,17 @@ tests/cases/conformance/jsdoc/declarations/index.js(115,18): error TS1176: Inter
32
32
33
33
export interface A {}
34
34
~
35
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
35
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
36
36
37
37
export interface B {
38
38
~
39
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
39
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
40
40
cat: string;
41
41
}
42
42
43
43
export interface C<T, U> {
44
44
~
45
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
45
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
46
46
field: T & U;
47
47
optionalField?: T;
48
48
readonly readonlyField: T & U;
@@ -65,135 +65,135 @@ tests/cases/conformance/jsdoc/declarations/index.js(115,18): error TS1176: Inter
65
65
66
66
interface G {}
67
67
~
68
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
68
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
69
69
70
70
export { G };
71
71
72
72
interface HH {}
73
73
~~
74
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
74
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
75
75
76
76
export { HH as H };
77
77
78
78
export interface I {}
79
79
~
80
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
80
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
81
81
export { I as II };
82
82
83
83
export { J as JJ };
84
84
export interface J {}
85
85
~
86
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
86
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
87
87
88
88
export interface K extends I,J {
89
89
~
90
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
90
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
91
91
x: string;
92
92
}
93
93
94
94
export interface L extends K {
95
95
~
96
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
96
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
97
97
y: string;
98
98
}
99
99
100
100
export interface M<T> {
101
101
~
102
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
102
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
103
103
field: T;
104
104
}
105
105
106
106
export interface N<U> extends M<U> {
107
107
~
108
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
108
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
109
109
other: U;
110
110
}
111
111
112
112
export interface O {
113
113
~
114
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
114
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
115
115
[idx: string]: string;
116
116
}
117
117
118
118
export interface P extends O {}
119
119
~
120
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
120
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
121
121
122
122
export interface Q extends O {
123
123
~
124
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
124
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
125
125
[idx: string]: "ok";
126
126
}
127
127
128
128
export interface R extends O {
129
129
~
130
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
130
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
131
131
[idx: number]: "ok";
132
132
}
133
133
134
134
export interface S extends O {
135
135
~
136
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
136
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
137
137
[idx: string]: "ok";
138
138
[idx: number]: never;
139
139
}
140
140
141
141
export interface T {
142
142
~
143
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
143
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
144
144
[idx: number]: string;
145
145
}
146
146
147
147
export interface U extends T {}
148
148
~
149
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
149
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
150
150
151
151
152
152
export interface V extends T {
153
153
~
154
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
154
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
155
155
[idx: string]: string;
156
156
}
157
157
158
158
export interface W extends T {
159
159
~
160
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
160
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
161
161
[idx: number]: "ok";
162
162
}
163
163
164
164
export interface X extends T {
165
165
~
166
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
166
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
167
167
[idx: string]: string;
168
168
[idx: number]: "ok";
169
169
}
170
170
171
171
export interface Y {
172
172
~
173
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
173
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
174
174
[idx: string]: {x: number};
175
175
[idx: number]: {x: number, y: number};
176
176
}
177
177
178
178
export interface Z extends Y {}
179
179
~
180
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
180
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
181
181
182
182
export interface AA extends Y {
183
183
~~
184
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
184
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
185
185
[idx: string]: {x: number, y: number};
186
186
}
187
187
188
188
export interface BB extends Y {
189
189
~~
190
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
190
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
191
191
[idx: number]: {x: 0, y: 0};
192
192
}
193
193
194
194
export interface CC extends Y {
195
195
~~
196
- !!! error TS1176: Interface declaration cannot have 'implements' clause .
196
+ !!! error TS8006: 'interface' declarations can only be used in TypeScript files .
197
197
[idx: string]: {x: number, y: number};
198
198
[idx: number]: {x: 0, y: 0};
199
199
}
0 commit comments