X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0101b0b9c7416f7aadb94ca71258b4d4e60af58a..a4b74b32b506a32566ca2967148a88ece76e973b:/src/store/tree-picker/picker-id.tsx

diff --git a/src/store/tree-picker/picker-id.tsx b/src/store/tree-picker/picker-id.tsx
index 56219545..b0d5e353 100644
--- a/src/store/tree-picker/picker-id.tsx
+++ b/src/store/tree-picker/picker-id.tsx
@@ -2,11 +2,15 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
+import React from 'react';
+
+export interface PickerIdProp {
+    pickerId: string;
+}
 
 export const pickerId =
     (id: string) =>
-        <P extends { pickerId: string }>(Component: React.ComponentType<P>) =>
+        <P extends PickerIdProp>(Component: React.ComponentType<P>) =>
             (props: P) =>
                 <Component {...props} pickerId={id} />;
                 
\ No newline at end of file
