react-native-documents / document-picker

Document Picker for React Native
https://react-native-documents.github.io/
MIT License
1.35k stars 437 forks source link

fix: improve typings for native module error #479

Closed vonovak closed 3 years ago

vonovak commented 3 years ago

Summary

TS handles catch() block errors as unknown and we should follow that approach.

Test Plan

TS does not complain in example app

Compatibility

OS Implemented
iOS
Android

Checklist