2017-03-22 06:54:06 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
////class A {
|
|
|
|
//// A: typeof A;
|
|
|
|
////}
|
|
|
|
////class D implements A {[| |]}
|
2017-03-22 06:54:06 +01:00
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
verify.codeFix({
|
|
|
|
description: "Implement interface 'A'",
|
|
|
|
newFileContent:
|
|
|
|
`class A {
|
2017-03-22 06:54:06 +01:00
|
|
|
A: typeof A;
|
2017-12-07 21:14:18 +01:00
|
|
|
}
|
2018-01-12 02:43:27 +01:00
|
|
|
class D implements A {
|
|
|
|
A: typeof A;
|
2017-12-07 21:14:18 +01:00
|
|
|
}`,
|
|
|
|
});
|