From f8c91fd578cb10dcf97d8d9f80c6f3f7fca05540 Mon Sep 17 00:00:00 2001 From: Jamie Winder Date: Thu, 21 Nov 2019 09:36:21 +0000 Subject: [PATCH] Fix strict typings --- src/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles.ts b/src/styles.ts index 7717a43f..c0c773a7 100644 --- a/src/styles.ts +++ b/src/styles.ts @@ -17,7 +17,7 @@ export interface ReactDiffViewerStyles { emptyGutter?: string; emptyLine?: string; codeFold?: string; - [key: string]: string; + [key: string]: string | undefined; } export interface ReactDiffViewerStylesOverride {