th3rdwave / react-native-safe-area-context

A flexible way to handle safe area insets in JS. Also works on Android and Web!
MIT License
2.09k stars 191 forks source link

Add missing types for jest/mock #390

Closed tarunrajput closed 1 year ago

tarunrajput commented 1 year ago

Summary

Add missing types for jest/mock

Test Plan

yarn test yarn validate:typescript

jacobp100 commented 1 year ago

Sorry for missing this. Looks good - thanks for the PR

brad-sf commented 1 year ago

Hi @janicduplessis and thanks.

Was this released in 4.6.0? I see this was merged before you released today, but I'm not seeing it in the change log though I am now running into Could not find a declaration file for module 'react-native-safe-area-context'. error after upgrading to 4.6.0. I'm still investigating.

Cheers!

tarunrajput commented 1 year ago

@bradleyflood, someone already opened a PR (https://github.com/th3rdwave/react-native-safe-area-context/pull/400)