mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Adopt TS 2.7.2
This commit is contained in:
parent
19b622bb0a
commit
4514e58f07
11 changed files with 39255 additions and 24472 deletions
|
|
@ -429,7 +429,7 @@ export class OutlineAdapter extends Adapter implements monaco.languages.Document
|
|||
const convert = (bucket: monaco.languages.SymbolInformation[], item: ts.NavigationBarItem, containerLabel?: string): void => {
|
||||
let result: monaco.languages.SymbolInformation = {
|
||||
name: item.text,
|
||||
kind: outlineTypeTable[item.kind] || monaco.languages.SymbolKind.Variable,
|
||||
kind: <monaco.languages.SymbolKind>(outlineTypeTable[item.kind] || monaco.languages.SymbolKind.Variable),
|
||||
location: {
|
||||
uri: resource,
|
||||
range: this._textSpanToRange(resource, item.spans[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue