Merge pull request #15491 from SaschaNaz/newformat

No space after new keyword on constructor signature
This commit is contained in:
Mohamed Hegazy
2017-05-01 09:43:12 -07:00
committed by GitHub
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
/// <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() {} }");