From c11a74bc35db400b4744110bec343c4997d5938a Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Fri, 9 May 2025 00:15:00 +0700 Subject: [PATCH] fix(lib/types): reference `react-native` types in tsconfig instead --- lib/types/tsconfig.json | 2 +- lib/types/types.d.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/types/tsconfig.json b/lib/types/tsconfig.json index 928d7f4..eb4a0b8 100644 --- a/lib/types/tsconfig.json +++ b/lib/types/tsconfig.json @@ -16,6 +16,6 @@ "noUnusedLocals": true, "noUnusedParameters": true, "noPropertyAccessFromIndexSignature": false, - "types": ["@revenge-mod/types"] + "types": ["@revenge-mod/types", "react-native/types/index"] } } diff --git a/lib/types/types.d.ts b/lib/types/types.d.ts index 868a82b..9d497e5 100644 --- a/lib/types/types.d.ts +++ b/lib/types/types.d.ts @@ -1,7 +1,5 @@ // All of these typings are exported, be careful what you export here! -/// - import type { Metro } from '@revenge-mod/modules/types' /// HERMES