X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0101b0b9c7416f7aadb94ca71258b4d4e60af58a..b1a6da4a288560a87e0e38ad2fd73fb227e3fc66:/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..3907ba8e 100644
--- a/src/store/tree-picker/picker-id.tsx
+++ b/src/store/tree-picker/picker-id.tsx
@@ -4,9 +4,13 @@
 
 import * as 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
