TypeScript/tests/cases/fourslash/codeFixClassImplementInterfacePropertyFromParentConstructorFunction.ts
Andy aed0eb6693
Improve verify.codeFixAvailable (#24325)
* Improve verify.codeFixAvailable

* Revert change to `verify.not.codeFixAvailable()`, and use `assertObjectsEqual` for better errors
2018-05-22 16:04:39 -07:00

17 lines
281 B
TypeScript

/// <reference path='fourslash.ts' />
//// class A {
//// constructor(public x: number) { }
//// }
////
//// class B implements A {[| |]}
verify.codeFixAvailable([]);
// TODO: (arozga) Get this working.
/*
verify.rangeAfterCodeFix(`
public x: number;
`);
*/