From de332c179670dfe5298011cc44d8084ce28e6f59 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Tue, 2 Apr 2024 21:21:15 +0800 Subject: [PATCH] Update PushyOptions strategy to allow null value --- src/type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type.ts b/src/type.ts index 707782a..0fc79d0 100644 --- a/src/type.ts +++ b/src/type.ts @@ -70,7 +70,7 @@ export interface PushyOptions { server?: PushyServerConfig; logger?: UpdateEventsLogger; useAlert?: boolean; - strategy?: 'onAppStart' | 'onAppResume' | 'both'; + strategy?: 'onAppStart' | 'onAppResume' | 'both' | null; autoMarkSuccess?: boolean; dismissErrorAfter?: number; }