TypeScript/tests/cases/fourslash/codeFixClassImplementInterfacePropertyFromParentConstructorFunction.ts

17 lines
281 B
TypeScript
Raw Normal View History

2016-11-14 22:53:59 +01:00
/// <reference path='fourslash.ts' />
//// class A {
//// constructor(public x: number) { }
//// }
////
2017-03-13 01:14:20 +01:00
//// class B implements A {[| |]}
2016-11-14 22:53:59 +01:00
verify.codeFixAvailable([]);
2016-11-14 22:53:59 +01:00
// TODO: (arozga) Get this working.
/*
verify.rangeAfterCodeFix(`
public x: number;
`);
*/