Skip to content

Version 1.0.4 causes build error with TS 3.6.4 #59

@iartemiev

Description

@iartemiev

Bug

Experiencing TypeScript build issue since updating to version 1.0.4 with TypeScript 3.6.4

The following import:

import PushNotificationIOS from '@react-native-community/push-notification-ios';

causes tsc to error out with:

../../node_modules/@react-native-community/push-notification-ios/index.d.ts(264,1): error TS2309: An export assignment cannot be used in a module with other exported elements.

Pinning version to 1.0.3 resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions