Skip to content

Commit

Permalink
Add typescript def
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Jul 9, 2018
1 parent 8893235 commit 456441a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EventEmitter } from "events"
export class APNS extends EventEmitter {
constructor(options: APNSOptions)
send(notification: Notification): Promise<Notification>
send(notifications: Notification[]): Promise<Notification[]>
sendMany(notifications: Notification[]): Promise<Notification[]>
}

export class Notification {
Expand Down

0 comments on commit 456441a

Please sign in to comment.