TypeScript/tests/cases/fourslash/formattingQMark.ts

12 lines
282 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts'/>
////interface A {
/////*1*/ foo? ();
/////*2*/ foo? <T>();
////}
format.document();
goTo.marker("1");
verify.currentLineContentIs(" foo?();");
goTo.marker("2");
verify.currentLineContentIs(" foo?<T>();");