Files
tsgo/testdata/baselines/reference/fourslash/signatureHelp/signatureHelpWithUnknownVS.baseline

94 lines
2.7 KiB
Plaintext

// === SignatureHelp ===
=== /signatureHelpWithUnknownVS.ts ===
// eval(\
// ^
// | ----------------------------------------------------------------------
// | eval(**x: string**): any
// | - `x: string`: A String value that contains valid JavaScript code.
// | Evaluates JavaScript code and executes it.
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 6,
"LSPosition": {
"line": 0,
"character": 6
},
"Name": "1",
"Data": {}
},
"item": {
"signatures": [
{
"label": "eval(x: string): any",
"documentation": {
"kind": "markdown",
"value": "Evaluates JavaScript code and executes it."
},
"parameters": [
{
"label": "x: string",
"documentation": {
"kind": "markdown",
"value": "A String value that contains valid JavaScript code."
}
}
],
"activeParameter": 0,
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "eval",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "x",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "string",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
}
]