Skip to content

Commit 2391684

Browse files
committed
fix: add TalsecConfig type annotation to example config
1 parent a977d83 commit 2391684

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

example/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
addToWhitelist,
66
useFreeRasp,
77
type SuspiciousAppInfo,
8+
type TalsecConfig,
89
} from 'freerasp-react-native';
910
import { DemoApp } from './DemoApp';
1011
import { commonChecks, iosChecks, androidChecks } from './checks';
@@ -29,7 +30,7 @@ const App = () => {
2930
})();
3031
}, []);
3132

32-
const config = {
33+
const config: TalsecConfig = {
3334
androidConfig: {
3435
packageName: 'com.freeraspreactnativeexample',
3536
certificateHashes: ['AKoRuyLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0='],

0 commit comments

Comments
 (0)