(sf: ts.SourceFile)
| 108 | * Check whether `sf` is a shim `ts.SourceFile` (either a per-file shim or a top-level shim). |
| 109 | */ |
| 110 | export function isShim(sf: ts.SourceFile): boolean { |
| 111 | return isExtended(sf) && (sf[NgExtension].fileShim !== null || sf[NgExtension].isTopLevelShim); |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Copy any shim data from one `ts.SourceFile` to another. |
no test coverage detected