From fadfb92c9454c03e12a5d4e420550d82dad70916 Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Mon, 11 Sep 2023 11:22:48 +0800 Subject: [PATCH] changing types to accept both number and string --- src/types/onyx/Response.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/onyx/Response.ts b/src/types/onyx/Response.ts index d9395b6e8dab..c501034e971c 100644 --- a/src/types/onyx/Response.ts +++ b/src/types/onyx/Response.ts @@ -1,8 +1,8 @@ import {OnyxUpdate} from 'react-native-onyx'; type Response = { - previousUpdateID?: number; - lastUpdateID?: number; + previousUpdateID?: number | string; + lastUpdateID?: number | string; jsonCode?: number; onyxData?: OnyxUpdate[]; requestID?: string;