(mapOptions)
| 110470 | && (sourceFileOrBundle.kind !== 305 /* SyntaxKind.SourceFile */ || !ts.fileExtensionIs(sourceFileOrBundle.fileName, ".json" /* Extension.Json */)); |
| 110471 | } |
| 110472 | function getSourceRoot(mapOptions) { |
| 110473 | // Normalize source root and make sure it has trailing "/" so that it can be used to combine paths with the |
| 110474 | // relative paths of the sources list in the sourcemap |
| 110475 | var sourceRoot = ts.normalizeSlashes(mapOptions.sourceRoot || ""); |
| 110476 | return sourceRoot ? ts.ensureTrailingDirectorySeparator(sourceRoot) : sourceRoot; |
| 110477 | } |
| 110478 | function getSourceMapDirectory(mapOptions, filePath, sourceFile) { |
| 110479 | if (mapOptions.sourceRoot) |
| 110480 | return host.getCommonSourceDirectory(); |
no outgoing calls
no test coverage detected