2019-07-25 23:10:31 +02:00
|
|
|
///<reference path="fourslash.ts" />
|
|
|
|
// @allowJs: true
|
|
|
|
// @Filename: 31298.js
|
|
|
|
/////**
|
|
|
|
//// * @returns {module:@nodefuel/web~Webserver~wsServer#hello} Websocket server object
|
|
|
|
//// */
|
|
|
|
////function foo() { }
|
2019-07-29 15:46:42 +02:00
|
|
|
////foo(''/*foo*/);
|
|
|
|
////
|
|
|
|
/////**
|
|
|
|
//// * @type {module:xxxxx} */
|
|
|
|
//// */
|
|
|
|
////function bar() { }
|
|
|
|
////bar(''/*bar*/);
|
2019-08-06 21:45:28 +02:00
|
|
|
////
|
|
|
|
/////** @type {function(module:xxxx, module:xxxx): module:xxxxx} */
|
|
|
|
////function zee() { }
|
|
|
|
////zee(''/*zee*/);
|
2019-07-29 15:46:42 +02:00
|
|
|
|
2019-07-25 23:10:31 +02:00
|
|
|
|
|
|
|
verify.signatureHelp({
|
2019-07-29 15:46:42 +02:00
|
|
|
marker: "foo",
|
2019-07-25 23:10:31 +02:00
|
|
|
text: "foo(): any",
|
|
|
|
docComment: "",
|
|
|
|
tags: [
|
2019-07-29 15:46:42 +02:00
|
|
|
{ name: "returns", text: "Websocket server object" },
|
2019-07-25 23:10:31 +02:00
|
|
|
],
|
|
|
|
});
|
2019-07-29 15:46:42 +02:00
|
|
|
|
|
|
|
verify.signatureHelp({
|
|
|
|
marker: "bar",
|
|
|
|
text: "bar(): void",
|
|
|
|
docComment: "",
|
|
|
|
tags: [],
|
|
|
|
});
|
2019-08-06 21:45:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
verify.signatureHelp({
|
|
|
|
marker: "zee",
|
|
|
|
text: "zee(): any",
|
|
|
|
docComment: "",
|
|
|
|
tags: [
|
|
|
|
{ name: "type", text: "{function(module:xxxx, module:xxxx): module:xxxxx}" },
|
|
|
|
],
|
|
|
|
});
|