aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-13 14:10:28 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-13 14:10:28 -0400
commit75b82b3bd936f99e7df78a202371093404c5626a (patch)
treef097cd13b221f2c6a2b7de0173789fbb558640f1 /src/Utils.ts
parentc4ce158bd87ee837b54f5b7b7a4d7610296c214b (diff)
parented9bb54c6307e809c6c6aa40c7d77cd3480e7e73 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index b0e66787e..ff55a2e4e 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -2,6 +2,7 @@ import v4 = require('uuid/v4');
import v5 = require("uuid/v5");
import { Socket } from 'socket.io';
import { Message, Types } from './server/Message';
+import { Document } from './fields/Document';
export class Utils {
@@ -96,4 +97,6 @@ export function returnFalse() {
export function emptyFunction() { }
+export function emptyDocFunction(doc: Document) { console.log("focus " + doc.Title); }
+
export type Without<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; \ No newline at end of file