aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/util/util.ts')
-rw-r--r--packages/instant/src/util/util.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/util/util.ts b/packages/instant/src/util/util.ts
index 232a86850..29b6b1d2b 100644
--- a/packages/instant/src/util/util.ts
+++ b/packages/instant/src/util/util.ts
@@ -2,4 +2,5 @@ import * as _ from 'lodash';
export const util = {
boundNoop: _.noop.bind(_),
+ createOpenUrlInNewWindow: (href: string) => () => window.open(href, '_blank'),
};