diff options
author | Stanley Yip <stanley_yip@brown.edu> | 2019-10-12 17:02:31 -0400 |
---|---|---|
committer | Stanley Yip <stanley_yip@brown.edu> | 2019-10-12 17:02:31 -0400 |
commit | d58195a0470b3882d6b43b18f1f4ab7a373a671f (patch) | |
tree | 816d6ab0382b6d195f1ea3cc9cc36b15c5bc49dd /src/Utils.ts | |
parent | b29832a0b75e91f7d53e3820b12d517e6bf3ee94 (diff) |
marquee now relies on pdf-style menu. pdf-style menu is now componentized so that other things can use it
Diffstat (limited to 'src/Utils.ts')
-rw-r--r-- | src/Utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Utils.ts b/src/Utils.ts index 4b892aa70..ca134e165 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -278,6 +278,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; |