diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-03-21 00:35:56 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-03-21 00:35:56 -0400 |
commit | cac21da4feeb5cebdda008011ab89bce15b01214 (patch) | |
tree | e2d50aa3199160e440a3a9c1617533606bdbcb34 /src/Utils.ts | |
parent | 0d430943b0bab1d63f014aaa3ddf3460785c640e (diff) | |
parent | d882d4013dc2df03a55c3f4afc954b7d9a38b4e4 (diff) |
Merge branch 'master' into editableSchema
Diffstat (limited to 'src/Utils.ts')
-rw-r--r-- | src/Utils.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Utils.ts b/src/Utils.ts index d4b7da52c..a4db94809 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -52,4 +52,6 @@ export class Utils { public static AddServerHandlerCallback<T>(socket: Socket, message: Message<T>, handler: (args: [T, (res: any) => any]) => any) { socket.on(message.Message, (arg: T, fn: (res: any) => any) => handler([arg, fn])); } -}
\ No newline at end of file +} + +export type Without<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
\ No newline at end of file |