mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00: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:
1 parent
4d501d1f44
commit
bddcbc5f20
1 file changed
+593
-599
+593
-599
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user