2017-03-16 02:09:55 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2019-11-19 18:13:50 +01:00
|
|
|
////
|
2017-03-16 02:09:55 +01:00
|
|
|
//// interface I {
|
|
|
|
//// x: {};
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// class C implements I {[|
|
|
|
|
//// |]constructor() { }
|
|
|
|
//// }
|
|
|
|
|
2019-11-19 18:13:50 +01:00
|
|
|
verify.codeFix({
|
|
|
|
description: "Implement interface 'I'",
|
|
|
|
newFileContent:`
|
|
|
|
interface I {
|
|
|
|
x: {};
|
|
|
|
}
|
|
|
|
|
|
|
|
class C implements I {
|
|
|
|
constructor() { }
|
|
|
|
x: {};
|
|
|
|
}`,
|
|
|
|
});
|