12 lines
282 B
TypeScript
12 lines
282 B
TypeScript
|
/// <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>();");
|