From 695c669e0ca1513273a621276c0b7d0ce7a7a26a Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Fri, 31 Mar 2023 04:15:29 -0700 Subject: [PATCH] TimelineDataDescription to accept any properties Summary: DataInspector can use `any` value to inspect. Lift the constraint from TimelineDataDescription as ultimately is not necessary i.e. the right inspector will be used based on the type of properties. Reviewed By: antonk52 Differential Revision: D44572963 fbshipit-source-id: ad8a257020c90e18468e905f2beda44c2ee06368 --- .../src/ui/data-inspector/TimelineDataDescription.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/flipper-plugin/src/ui/data-inspector/TimelineDataDescription.tsx b/desktop/flipper-plugin/src/ui/data-inspector/TimelineDataDescription.tsx index 8c7139830..000d6dec2 100644 --- a/desktop/flipper-plugin/src/ui/data-inspector/TimelineDataDescription.tsx +++ b/desktop/flipper-plugin/src/ui/data-inspector/TimelineDataDescription.tsx @@ -19,7 +19,7 @@ type TimePoint = { display: string; color: string; key: string; - properties?: {[key: string]: string}; + properties?: any; }; type Timeline = {