* Fix crash in codefixes re: braces of class body Previously, the code that finds braces of a class body assumed they were always there. This is not always the case, so this code checks for that. * fix semicolon lint
11 lines
240 B
TypeScript
11 lines
240 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//// interface I {
|
|
//// m(): void
|
|
//// }
|
|
//// class C/*c*/ implements I
|
|
|
|
verify.errorExistsBeforeMarker("c")
|
|
goTo.marker("c")
|
|
verify.codeFixAvailable([{ "description": "Implement interface 'I'" }])
|