(str, prefix)
| 2418 | } |
| 2419 | ts.startsWith = startsWith; |
| 2420 | function removePrefix(str, prefix) { |
| 2421 | return startsWith(str, prefix) ? str.substr(prefix.length) : str; |
| 2422 | } |
| 2423 | ts.removePrefix = removePrefix; |
| 2424 | function tryRemovePrefix(str, prefix, getCanonicalFileName) { |
| 2425 | if (getCanonicalFileName === void 0) { getCanonicalFileName = identity; } |
nothing calls this directly
no test coverage detected