Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

Commit 26c2dd9

Browse files
committed
some cleanup
1 parent e49b66e commit 26c2dd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/__tests__/Hooks-test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe('AppNavigator1 Stack', () => {
9292
});
9393

9494
it('useNavigation: Navigating to "DetailsScreen"', () => {
95-
const instance = navigationContainer.getInstance() as { state?: any };
95+
const instance = navigationContainer.getInstance()
9696
expect(instance.state.nav).toMatchObject({ index: 1 });
9797
});
9898

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"pretty": true,
1919
"noEmitHelpers": true,
2020
"importHelpers": true,
21-
"strict": false,
21+
"strict": true,
2222
"outDir": "dist",
2323
"allowSyntheticDefaultImports": true,
2424
"esModuleInterop": true

0 commit comments

Comments
 (0)