From 4f38c9a1401d10d2ba674431692f98c213d44a71 Mon Sep 17 00:00:00 2001 From: kelvin9314 Date: Fri, 25 Nov 2022 14:31:35 +0800 Subject: [PATCH] chore: Allow null for TS definitions about width and height of OpenGraphMedia (#975) --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index a52f0348..97efedc6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -155,8 +155,8 @@ export interface ItemListElements { } export interface OpenGraphMedia { url: string; - width?: number; - height?: number; + width?: number | null; + height?: number | null; alt?: string; type?: string; secureUrl?: string;