i.e. use "var v: string" instead of "(var) v: string". The parens case should only be used when we're using an english description instead of an actual language construct.
18 lines
428 B
TypeScript
18 lines
428 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////var foo: {
|
|
//// (name: string): string;
|
|
//// (name: 'order'): string;
|
|
//// (name: 'content'): string;
|
|
//// (name: 'done'): string;
|
|
////}
|
|
|
|
////var /*2*/x = foo(/*1*/
|
|
|
|
goTo.marker('1');
|
|
verify.signatureHelpCountIs(4);
|
|
verify.currentSignatureHelpIs('foo(name: \'order\'): string');
|
|
edit.insert('"hi"');
|
|
|
|
goTo.marker('2');
|
|
verify.quickInfoIs('var x: string');
|