From 66e84ecd8d5480a66dca01247d73f51feb85228d Mon Sep 17 00:00:00 2001 From: Beef Date: Sat, 14 Jan 2023 16:24:14 +0000 Subject: [PATCH] [TS] Don't use specific PlatformConstants import --- src/def.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/def.d.ts b/src/def.d.ts index 1d34105..ac1641a 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -1,6 +1,6 @@ import * as _spitroast from "spitroast"; import _React from "react"; -import _RN, { PlatformConstants } from "react-native"; +import _RN from "react-native"; import _AsyncStorage from "@react-native-async-storage/async-storage"; type MetroModules = { [id: number]: any }; @@ -64,7 +64,7 @@ interface Settings { developerSettings: boolean; } -interface RNConstants extends PlatformConstants { +interface RNConstants extends _RN.PlatformConstants { // Android Version: number; Release: string;