mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
fix issue with outline
This commit is contained in:
parent
f8f33bc833
commit
776e684da2
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ export class OutlineAdapter extends Adapter implements monaco.languages.Document
|
|||
return;
|
||||
}
|
||||
|
||||
function convert(bucket: monaco.languages.SymbolInformation[], item: ts.NavigationBarItem, containerLabel?: string): void {
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue