From 0fdd9012972f98b3fccfa961533e379d2ae39714 Mon Sep 17 00:00:00 2001 From: Hamdullah Shah Date: Tue, 8 Aug 2023 09:50:08 -0700 Subject: [PATCH] DataDescriptor BigInt Summary: The `DataDescriptionType` accepts the `BigInt` type but it doesn't render. Added the `case` for that and reuse the `NumberValue` tag for it. Reviewed By: aigoncharov Differential Revision: D48152012 fbshipit-source-id: 32ebc8a37df34d57b40c7ecdad331c547415b335 --- .../flipper-plugin/src/ui/data-inspector/DataDescription.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/flipper-plugin/src/ui/data-inspector/DataDescription.tsx b/desktop/flipper-plugin/src/ui/data-inspector/DataDescription.tsx index f72d3cb12..d284aa3c9 100644 --- a/desktop/flipper-plugin/src/ui/data-inspector/DataDescription.tsx +++ b/desktop/flipper-plugin/src/ui/data-inspector/DataDescription.tsx @@ -573,7 +573,8 @@ class DataDescriptionContainer extends PureComponent<{ case 'number': return {+val}; - + case 'bigint': + return {val.toString()}; case 'color': { const colorInfo = parseColor(val); if (typeof val === 'number' && val === 0) {