aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-08-25 11:53:50 -0400
committerbobzel <zzzman@gmail.com>2021-08-25 11:53:50 -0400
commit2790d5b6c374ca24e7307b03f1fd72be7172b033 (patch)
tree3884525c8027fbba467258df884143779db3ee94 /src/Utils.ts
parentfe818efd80e649b841009b69841b176cee4c5c8c (diff)
parentd88db8300f400e89d50fb42ee8d9186e147c61e7 (diff)
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index 5d86c755a..102ac520b 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -456,6 +456,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;