PatchImport

tcmts.cli.main.PatchImport · #urxhhxus · type

An import tcm patch is asked to add (--imports, or imports in a patch): name from from, as as if given; default is the module's default export, * the module itself (each named by as); type imports only its type.

export interface PatchImport {
  name: string;
  from: string;
  as?: string;
  type?: boolean;
}

used by