From c3bfe069560417a2ad5ba1b07f6fa23313ab9d31 Mon Sep 17 00:00:00 2001 From: Alex Bradley Date: Tue, 20 Dec 2022 14:59:30 -0800 Subject: [PATCH] Fix type error in IWindowFeatures (#145) A TypeScript index signature for an object type must be compatible with all properties of the object. --- types/NewWindow.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/NewWindow.d.ts b/types/NewWindow.d.ts index 7a32ce8..0ab7542 100644 --- a/types/NewWindow.d.ts +++ b/types/NewWindow.d.ts @@ -13,7 +13,7 @@ declare module 'react-new-window' { export interface IWindowFeatures { height?: number width?: number - [i: string]: boolean | number | string + [i: string]: boolean | number | string | undefined } /**