mirror of
https://github.com/danbulant/oxc
synced 2026-05-22 05:38:54 +00:00
parent
77bd5f102c
commit
855f2f6286
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ export const renderSymbols = (symbols: SymbolTable): string => {
|
|||
span: symbols.spans[index],
|
||||
references: symbols.resolvedReferences[index].map(id => ({
|
||||
referenceId: id,
|
||||
...symbols.references[id],
|
||||
// reference id is 1-based
|
||||
...symbols.references[id - 1],
|
||||
})),
|
||||
})
|
||||
return acc
|
||||
|
|
|
|||
Loading…
Reference in a new issue