2016-12-14 17:42:05 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
////class A {
|
|
|
|
//// f() {}
|
|
|
|
////}
|
2017-12-07 21:14:18 +01:00
|
|
|
////let B = class implements A {}
|
2016-12-14 17:42:05 +01:00
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
2017-12-02 01:38:59 +01:00
|
|
|
description: "Implement interface 'A'",
|
2017-12-07 21:14:18 +01:00
|
|
|
newFileContent:
|
|
|
|
`class A {
|
|
|
|
f() {}
|
|
|
|
}
|
2018-01-12 02:43:27 +01:00
|
|
|
let B = class implements A {
|
|
|
|
f(): void {
|
|
|
|
throw new Error("Method not implemented.");
|
|
|
|
}
|
2017-12-07 21:14:18 +01:00
|
|
|
}`
|
2017-10-10 20:28:05 +02:00
|
|
|
});
|