Use typescript language for hover tooltip header

This commit is contained in:
Spencer 2020-09-13 05:01:18 -07:00 committed by GitHub
parent 5389ec04d0
commit 3055a6e22e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -670,7 +670,7 @@ export class QuickInfoAdapter
range: this._textSpanToRange(model, info.textSpan), range: this._textSpanToRange(model, info.textSpan),
contents: [ contents: [
{ {
value: '```js\n' + contents + '\n```\n' value: '```typescript\n' + contents + '\n```\n'
}, },
{ {
value: documentation + (tags ? '\n\n' + tags : '') value: documentation + (tags ? '\n\n' + tags : '')