[TS] Don't use specific PlatformConstants import
This commit is contained in:
parent
6764b07727
commit
66e84ecd8d
1 changed files with 2 additions and 2 deletions
4
src/def.d.ts
vendored
4
src/def.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue