MCPcopy Create free account
hub / github.com/angular/angular / isShim

Method isShim

packages/compiler-cli/src/ngtsc/core/src/host.ts:281–283  ·  view source on GitHub ↗

* Check whether the given `ts.SourceFile` is a shim file. * * If this returns false, the file is user-provided.

(sf: ts.SourceFile)

Source from the content-addressed store, hash-verified

279 * If this returns false, the file is user-provided.
280 */
281 isShim(sf: ts.SourceFile): boolean {
282 return isShim(sf);
283 }
284
285 /**
286 * Check whether the given `ts.SourceFile` is a resource file.

Callers

nothing calls this directly

Calls 1

isShimFunction · 0.90

Tested by

no test coverage detected