2017-03-16 02:09:55 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @lib: es2017
|
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
/////** asdf */
|
|
|
|
////interface I {
|
|
|
|
//// 1;
|
|
|
|
//// 2;
|
|
|
|
//// 3;
|
|
|
|
//// 4;
|
|
|
|
//// 5;
|
|
|
|
//// 6;
|
|
|
|
//// 7;
|
|
|
|
//// 8;
|
|
|
|
//// 9;
|
|
|
|
//// 10;
|
|
|
|
//// 11;
|
|
|
|
//// 12;
|
|
|
|
//// 13;
|
|
|
|
//// 14;
|
|
|
|
//// 15;
|
|
|
|
//// 16;
|
|
|
|
//// 17;
|
|
|
|
//// 18;
|
|
|
|
//// 19;
|
|
|
|
//// 20;
|
|
|
|
//// 21;
|
|
|
|
//// 22;
|
|
|
|
//// /** a nice safe prime */
|
|
|
|
//// 23;
|
|
|
|
////}
|
|
|
|
////class C implements I {}
|
2017-03-16 02:09:55 +01:00
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
verify.codeFix({
|
|
|
|
description: "Implement interface 'I'",
|
|
|
|
newFileContent:
|
|
|
|
`/** asdf */
|
|
|
|
interface I {
|
|
|
|
1;
|
|
|
|
2;
|
|
|
|
3;
|
|
|
|
4;
|
|
|
|
5;
|
|
|
|
6;
|
|
|
|
7;
|
|
|
|
8;
|
|
|
|
9;
|
|
|
|
10;
|
|
|
|
11;
|
|
|
|
12;
|
|
|
|
13;
|
|
|
|
14;
|
|
|
|
15;
|
|
|
|
16;
|
|
|
|
17;
|
|
|
|
18;
|
|
|
|
19;
|
|
|
|
20;
|
|
|
|
21;
|
|
|
|
22;
|
|
|
|
/** a nice safe prime */
|
|
|
|
23;
|
|
|
|
}
|
2018-01-12 02:43:27 +01:00
|
|
|
class C implements I {
|
|
|
|
1: any;
|
|
|
|
2: any;
|
|
|
|
3: any;
|
|
|
|
4: any;
|
|
|
|
5: any;
|
|
|
|
6: any;
|
|
|
|
7: any;
|
|
|
|
8: any;
|
|
|
|
9: any;
|
|
|
|
10: any;
|
|
|
|
11: any;
|
|
|
|
12: any;
|
|
|
|
13: any;
|
|
|
|
14: any;
|
|
|
|
15: any;
|
|
|
|
16: any;
|
|
|
|
17: any;
|
|
|
|
18: any;
|
|
|
|
19: any;
|
|
|
|
20: any;
|
|
|
|
21: any;
|
|
|
|
22: any;
|
|
|
|
23: any;
|
2017-12-07 21:14:18 +01:00
|
|
|
}`,
|
|
|
|
});
|