Skip to content

Commit

Permalink
fix: missing typings
Browse files Browse the repository at this point in the history
  • Loading branch information
triniwiz committed Oct 6, 2021
1 parent 48f12ee commit 2c7ed0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/firebase-messaging/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FirebaseApp, Firebase } from '@nativescript/firebase-core';
import { IMessaging, Permissions } from './common';

import { IMessaging, Permissions, RemoteMessage, AuthorizationStatus } from './common';
export { AuthorizationStatus } from './common';
export declare class Messaging implements IMessaging {
getToken(): Promise<string>;

Expand Down Expand Up @@ -29,6 +29,8 @@ export declare class Messaging implements IMessaging {
isDeviceRegisteredForRemoteMessages(): boolean;

isAutoInitEnabled: boolean;
showNotificationsWhenInForeground: boolean;

readonly app: FirebaseApp;

readonly native;
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase-messaging/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/firebase-messaging",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"description": "NativeScript Firebase - Messaging",
"main": "index",
"typings": "index.d.ts",
Expand Down

0 comments on commit 2c7ed0e

Please sign in to comment.