1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
/// <reference path='fourslash.ts' />
////// Not valid TS (abstract methods can only appear in abstract classes)
////class Animal {
//// [|abstract|] walk(): void;
//// [|abstract|] makeSound(): void;
////}
////// abstract cannot appear here, won't get highlighted
////let c = /*1*/abstract class Foo {
//// /*2*/abstract foo(): void;
//// abstract bar(): void;
////}
verify.baselineCommands(
{ type: "documentHighlights", markerOrRange: ["1", "2"] },
{ type: "documentHighlights" }
);
|