Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript error: .postLocalNotification requires 2 arguments #703

Closed
Rc85 opened this issue Nov 25, 2020 · 1 comment
Closed

Typescript error: .postLocalNotification requires 2 arguments #703

Rc85 opened this issue Nov 25, 2020 · 1 comment

Comments

@Rc85
Copy link

Rc85 commented Nov 25, 2020

The docs says the second argument id in .postLocalNotification is optional, but I'm getting error.

Notifications.d.ts(26, 55): An argument for 'id' was not provided.

@darron1217
Copy link

Same issue here.
The optional parameters are marked as required!

antontanderup added a commit to zetlanddk/react-native-notifications that referenced this issue Dec 18, 2020
mburmistrov pushed a commit to mburmistrov/react-native-notifications that referenced this issue Jan 10, 2021
Makes the id optional when posting a local notification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants