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

Interface Import

packages/compiler-cli/src/ngtsc/reflection/src/host.ts:506–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504 * was imported.
505 */
506export interface Import {
507 /**
508 * The name of the imported symbol under which it was exported (not imported).
509 */
510 name: string;
511
512 /**
513 * The module from which the symbol was imported.
514 *
515 * This could either be an absolute module name (@angular/core for example) or a relative path.
516 */
517 from: string;
518
519 /**
520 * TypeScript node that represents this import.
521 */
522 node: ts.ImportDeclaration;
523}
524
525/**
526 * A type that is used to identify a declaration.

Callers 1

type_to_nameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected