Add range mapping APIs (getSourceStartEnd, getGeneratedStartEnd), which will only try to map start, end positions from the same mapping item.
This is the range mapping behavior that was originally @volar/language-service, and is now moved into the @volar/source-map core so that it is also valid in the TS plugin.
Add range mapping APIs (
getSourceStartEnd
,getGeneratedStartEnd
), which will only try to map start, end positions from the same mapping item.This is the range mapping behavior that was originally
@volar/language-service
, and is now moved into the@volar/source-map
core so that it is also valid in the TS plugin.