mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +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],
|
span: symbols.spans[index],
|
||||||
references: symbols.resolvedReferences[index].map(id => ({
|
references: symbols.resolvedReferences[index].map(id => ({
|
||||||
referenceId: id,
|
referenceId: id,
|
||||||
...symbols.references[id],
|
// reference id is 1-based
|
||||||
|
...symbols.references[id - 1],
|
||||||
})),
|
})),
|
||||||
})
|
})
|
||||||
return acc
|
return acc
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue