From f150502f9784e9da1f9dc0d4f6072cf0eac1891f Mon Sep 17 00:00:00 2001 From: Jonathan Lin Date: Wed, 24 Apr 2024 15:20:49 -0700 Subject: [PATCH] [typescript] Add isTimeZoneAgnostic in Typescript types (#432) 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'