aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authorStanley Yip <33562077+yipstanley@users.noreply.github.com>2019-11-16 14:34:33 -0500
committerGitHub <noreply@github.com>2019-11-16 14:34:33 -0500
commit2231fc61a0a667c207ec3ca7156f7545cf909d17 (patch)
treec3ef95f57ff84c847aedd0125173b6c58cbeb239 /src/Utils.ts
parent22d1e65236bae11c508d5c34ebcbddd1a552bfd8 (diff)
parent68c9c230b3c98ec70adaa1dacb66215f09d2c1f6 (diff)
Merge pull request #302 from browngraphicslab/interaction_stanley
Interaction Improvements
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index 7bb025e49..12acda4bb 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -303,6 +303,8 @@ export function returnEmptyString() { return ""; }
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;