(from: ts.SourceFile, to: ts.SourceFile)
| 115 | * Copy any shim data from one `ts.SourceFile` to another. |
| 116 | */ |
| 117 | export function copyFileShimData(from: ts.SourceFile, to: ts.SourceFile): void { |
| 118 | if (!isFileShimSourceFile(from)) { |
| 119 | return; |
| 120 | } |
| 121 | sfExtensionData(to).fileShim = sfExtensionData(from).fileShim; |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * For those `ts.SourceFile`s in the `program` which have previously been tagged by a |
no test coverage detected