From a18824b757b6a54ab3150ad4b0eed4a0b4731f24 Mon Sep 17 00:00:00 2001 From: Daniele Polencic Date: Tue, 5 Nov 2019 00:16:46 +0800 Subject: [PATCH] Fixed types for TS 3.6.2 (#63) --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index f464df8..220aa11 100644 --- a/src/types.ts +++ b/src/types.ts @@ -45,5 +45,5 @@ export interface Pagination { export interface PaginatedResponse { pagination?: Pagination; - [key: string]: T[] | Pagination; + [key: string]: T[] | Pagination | undefined; }