TypeScript/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline
Nathan Shively-Sanders 5dbb110497
Baseline completions and signature help (#43049)
* Initial implementation+first big transitions

* about 10 more

* Change baseline filename + more baselines

1. Use containing file name instead of first @Filename.
2. Switch the rest of the tests I need for @link over to baselines.

* fix lint

* Remove unused/incorrectly named fourslash baselines

* fix incorrectly updated baselines

* dedupe non-unique filenames

* Add names to marker baselines

Also rename another duped test filename.

* Fix semicolon lint
2021-03-02 16:33:32 -08:00

144 lines
2.7 KiB
Plaintext

[
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoDisplayPartsVarWithStringTypes01.ts",
"position": 4,
"name": "1"
},
"quickInfo": {
"kind": "let",
"kindModifiers": "",
"textSpan": {
"start": 4,
"length": 5
},
"displayParts": [
{
"text": "let",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "hello",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "\"hello\"",
"kind": "stringLiteral"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoDisplayPartsVarWithStringTypes01.ts",
"position": 44,
"name": "2"
},
"quickInfo": {
"kind": "let",
"kindModifiers": "",
"textSpan": {
"start": 44,
"length": 5
},
"displayParts": [
{
"text": "let",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "world",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "\"world\"",
"kind": "stringLiteral"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoDisplayPartsVarWithStringTypes01.ts",
"position": 74,
"name": "3"
},
"quickInfo": {
"kind": "let",
"kindModifiers": "",
"textSpan": {
"start": 74,
"length": 12
},
"displayParts": [
{
"text": "let",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "helloOrWorld",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "\"hello\"",
"kind": "stringLiteral"
},
{
"text": " ",
"kind": "space"
},
{
"text": "|",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "\"world\"",
"kind": "stringLiteral"
}
],
"documentation": []
}
}
]