HomePhabricator
Diffusion Comm 3c161e10a4ec

Introduce length() method in apn.Notification flow-typed

Description

Introduce length() method in apn.Notification flow-typed

Summary: This diff extends apn.Notification type with length method provided by untyped version of node-apn library. We will need in furhter diffs

Test Plan: Temporarily place call to langth() of apn.Notification instance and ensure flow type checker does not complain.

Reviewers: tomek

Reviewed By: tomek

Subscribers: ashoat, adrian, atul, abosh

Differential Revision: https://phab.comm.dev/D4617

Details

Provenance
marcinAuthored on Jul 25 2022, 6:13 AM
Reviewer
tomek
Differential Revision
D4617: Introduce length() method in apn.Notification flow-typed
Parents
rCOMM9b7fde3b227d: Introduce iOS and Android notification max size thresholds as constants
Branches
Unknown
Tags
Unknown