2014-08-30 03:02:05 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////var foo: {
|
|
|
|
//// (name: string): string;
|
|
|
|
//// (name: 'order'): string;
|
|
|
|
//// (name: 'content'): string;
|
|
|
|
//// (name: 'done'): string;
|
|
|
|
////}
|
|
|
|
|
2014-10-07 20:30:27 +02:00
|
|
|
////var /*2*/x = foo(/*1*/
|
2014-08-30 03:02:05 +02:00
|
|
|
|
2018-05-15 21:34:53 +02:00
|
|
|
verify.signatureHelp({
|
|
|
|
marker: "1",
|
|
|
|
overloadsCount: 4,
|
|
|
|
text: 'foo(name: "order"): string',
|
|
|
|
})
|
2014-08-30 03:02:05 +02:00
|
|
|
edit.insert('"hi"');
|
|
|
|
|
2018-05-15 21:34:53 +02:00
|
|
|
verify.quickInfoAt("2", "var x: string");
|