From 325c02dfe212f34a26c263e68a0f0cc06ee53278 Mon Sep 17 00:00:00 2001 From: Arman Ozak Date: Tue, 18 Aug 2020 18:54:34 +0300 Subject: [PATCH] feat: add Omissible utility type to schematics --- npm/ng-packs/packages/schematics/src/models/index.ts | 1 + npm/ng-packs/packages/schematics/src/models/util.ts | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 npm/ng-packs/packages/schematics/src/models/util.ts diff --git a/npm/ng-packs/packages/schematics/src/models/index.ts b/npm/ng-packs/packages/schematics/src/models/index.ts index 4b97b395c6..a50fc39e14 100644 --- a/npm/ng-packs/packages/schematics/src/models/index.ts +++ b/npm/ng-packs/packages/schematics/src/models/index.ts @@ -1,2 +1,3 @@ export * from './api-definition'; export * from './project'; +export * from './util'; diff --git a/npm/ng-packs/packages/schematics/src/models/util.ts b/npm/ng-packs/packages/schematics/src/models/util.ts new file mode 100644 index 0000000000..5ff732ccfe --- /dev/null +++ b/npm/ng-packs/packages/schematics/src/models/util.ts @@ -0,0 +1,2 @@ +// Omissible (given keys will become optional) +export type Omissible = Partial> & Omit;