TypeScript/tests/cases/fourslash/codeFixAmbientClassImplementClassMethodViaHeritage.ts
Ron Buckton 98b6db81d9
Allow accessors in ambient class declarations (#32787)
* Allow accessors in ambient class declarations

* Update src/compiler/transformers/declarations.ts

Co-Authored-By: Wesley Wigham <wewigham@microsoft.com>
2019-08-09 16:11:25 -07:00

17 lines
251 B
TypeScript

/// <reference path='fourslash.ts' />
//// class C1 {
//// f1() {}
//// }
////
//// class C2 extends C1 {
////
//// }
////
//// declare class C3 implements C2 {[|
//// |]f2();
//// }
verify.rangeAfterCodeFix(`f1(): void;
`);