mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-26 12:43:48 -06:00
Move code out of closure in getDocumentHighlights, then again out of getSemanticDocumentHighlights and getSyntacticDocumentHighlights.
Also return a `Node[]` instead of a `HighlightSpan[]` where possible and do mapping from Node to HighlightSpan in one place.
This commit is contained in:
parent
4d501d1f44
commit
bddcbc5f20
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user