diff --git a/.gitignore b/.gitignore index 4f1c43c5..885b5f97 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,7 @@ android/keystores/debug.keystore # generated by bob lib/ + + +# gh-md-toc +docs/gh-md-toc diff --git a/example/src/App.tsx b/example/src/App.tsx index 486a5304..de26fdd6 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -18,7 +18,7 @@ export default function App() { console.log(JSON.stringify(result, null, 2)) }, [result]) - const handleError = (err: Error) => { + const handleError = (err: unknown) => { if (DocumentPicker.isCancel(err)) { console.warn('cancelled') // User cancelled the picker, exit any dialogs or menus and move on @@ -33,12 +33,15 @@ export default function App() {