From 5a51f1b31895a682c8bfe33e1cd54709a02e558b Mon Sep 17 00:00:00 2001 From: Daniele Polencic Date: Fri, 4 Oct 2019 23:00:32 +0800 Subject: [PATCH] fixed types for TS 3.6.2 --- 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; }