docs/libs/typescript.js
function getDirectoryFragmentTextSpan(text, textStart) {
                var index = text.lastIndexOf(ts.directorySeparator);
                var offset = index !== -1 ? index + 1 : 0;
                return { start: textStart + offset, length: text.length - offset };
            }
function getDirectoryFragmentTextSpan(text, textStart) {
                var index = text.lastIndexOf(ts.directorySeparator);
                var offset = index !== -1 ? index + 1 : 0;
                return { start: textStart + offset, length: text.length - offset };
            }
function getDirectoryFragmentTextSpan ( text , textStart ) { var index = text . lastIndexOf ( ts . directorySeparator ) ; var offset = index !== - 1 ? index + 1 : 0 ; return { start : textStart + offset , length : text . length - offset } ; }
Replace everything after the last directory seperator that appears
Replace everything after the last directory seperator that appears