17782: Further imports fixing.
[arvados-workbench2.git] / src / store / open-in-new-tab / open-in-new-tab.actions.ts
index 92d1a45f03096000237113677e51d917d2db3877..94aec140d64f2bc0b7a906465244ea29f3c3e6b6 100644 (file)
@@ -2,12 +2,12 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as copy from 'copy-to-clipboard';
+import copy from 'copy-to-clipboard';
 import { ResourceKind } from 'models/resource';
 import { getClipboardUrl } from 'views-components/context-menu/actions/helpers';
 
 const getUrl = (resource: any) => {
-    let url = null;
+    let url: string | null = null;
     const { uuid, kind } = resource;
 
     if (kind === ResourceKind.COLLECTION) {