From ace505a8c5338288446ea037d8fd473c821f8fa5 Mon Sep 17 00:00:00 2001 From: Dylan Dirlam Date: Thu, 15 Feb 2024 20:09:56 -0500 Subject: [PATCH] Add missing type `displayArrayKey` --- index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.d.ts b/index.d.ts index 9490fb2..cf0564d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -87,6 +87,12 @@ export interface ReactJsonViewProps { * Default: true */ displayDataTypes?: boolean; + /** + * When set to true, the index of the elements prefix values + * + * Default: true + */ + displayArrayKey?: boolean; /** * set to false to remove quotes from keys (eg. "name": vs. name:) *