mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Merge pull request #15491 from SaschaNaz/newformat
No space after new keyword on constructor signature
This commit is contained in:
@@ -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() {} }");
|
||||
Reference in New Issue
Block a user