diff options
author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2021-08-25 06:55:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 06:55:32 -0400 |
commit | d88db8300f400e89d50fb42ee8d9186e147c61e7 (patch) | |
tree | a819ace5d1844fed81e5bf3f73b6f77479fe119d /src/Utils.ts | |
parent | e221001a24e8615aa6113dd3f25b8c6e10c74999 (diff) | |
parent | 9b0a043eeb272c69c1aac07c5a4df409f09400b7 (diff) |
Merge pull request #33 from brown-dash/linking-anh
Linking anh - fixed and expanded link relationships
Diffstat (limited to 'src/Utils.ts')
-rw-r--r-- | src/Utils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Utils.ts b/src/Utils.ts index f90296121..e3632b229 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -448,6 +448,7 @@ export function emptyFunction() { } export function unimplementedFunction() { throw new Error("This function is not implemented, but should be."); } + export type Without<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; export type Predicate<K, V> = (entry: [K, V]) => boolean; |