From 081d4db2dd75e158e90a27480d0edc8057a17f93 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Fri, 31 May 2024 00:21:25 +0200 Subject: [PATCH] feat: make types great again (ish, many ignores for sanity) --- package.json | 5 +++-- src/lib/crypto/crypto.ts | 3 +++ tsconfig.json | 3 ++- types/global.d.ts | 2 ++ yarn.lock | 35 +++++++++++++++++++++++------------ 5 files changed, 33 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 8b2eecd..cf1a0ef 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "react-native-get-random-values": "~1.11.0", "react-native-shake": "latest", "react-native-simple-crypto": "latest", - "react-native-svg": "15.2.0", + "react-native-svg": "15.3.0", "react-native-webview": "13.8.6", "react-singleton-hook": "^4.0.0" }, @@ -46,7 +46,8 @@ "@types/jest": "^28.1.8", "@types/lodash.memoize": "^4.1.7", "@types/lodash.once": "^4.1.7", - "@types/react-native": "^0.70.4", + "@types/react": "^18.3.3", + "@types/react-native": "^0.73.0", "@types/react-test-renderer": "^18.0.0", "@typescript-eslint/eslint-plugin": "^5.38.1", "@typescript-eslint/parser": "^6.6.0", diff --git a/src/lib/crypto/crypto.ts b/src/lib/crypto/crypto.ts index 1af435b..ceab3f3 100644 --- a/src/lib/crypto/crypto.ts +++ b/src/lib/crypto/crypto.ts @@ -110,6 +110,9 @@ export async function makeKey(password: string, email: string): Promise