TypeScript/tests/cases/fourslash/formattingOnConstructorSignature.ts
2017-06-19 11:13:58 -07:00

9 lines
305 B
TypeScript

/// <reference path='fourslash.ts' />
/////*1*/interface Gourai { new () {} }
/////*2*/type Stylet = { new () {} }
format.document();
goTo.marker("1");
verify.currentLineContentIs("interface Gourai { new() { } }");
goTo.marker("2");
verify.currentLineContentIs("type Stylet = { new() { } }");