From 7d67d337759f1222fc91a33a09458689b618dab4 Mon Sep 17 00:00:00 2001 From: Jonathan Lin Date: Sat, 2 Mar 2024 15:46:35 -0800 Subject: [PATCH] Add isTimeZoneAgnostic in Typescript types This was added by https://github.com/react-native-push-notification/ios/pull/354 and just didn't have updated typescript types. --- index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.d.ts b/index.d.ts index e29d79be..67427049 100644 --- a/index.d.ts +++ b/index.d.ts @@ -208,6 +208,10 @@ export type NotificationRequest = { * Optional data to be added to the notification */ userInfo?: Record; + /** + * If true, fireDate adjusted automatically upon time zone changes (e.g. for an alarm clock). + */ + isTimeZoneAgnostic?: boolean; /** * The interruption level for the notification. * Possible values: 'passive', 'active', 'timeSensitive', 'critical'