* Improve verify.codeFixAvailable * Revert change to `verify.not.codeFixAvailable()`, and use `assertObjectsEqual` for better errors
13 lines
365 B
TypeScript
13 lines
365 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//// interface I<T extends string> {
|
|
//// x: T;
|
|
//// }
|
|
////
|
|
//// class C implements I<number> { }
|
|
|
|
// TODO: (arozga) Don't know how to instantiate in codeFix
|
|
// if instantiation is invalid.
|
|
// Should be verify.codeFixAvailable([]);
|
|
verify.codeFixAvailable([{ description: "Implement interface 'I<number>'" }]);
|