[TS] Don't import Events
This commit is contained in:
parent
b8e0e69fcb
commit
473205a1ca
1 changed files with 1 additions and 2 deletions
3
src/def.d.ts
vendored
3
src/def.d.ts
vendored
|
@ -1,7 +1,6 @@
|
||||||
import * as _spitroast from "spitroast";
|
import * as _spitroast from "spitroast";
|
||||||
import _React from "react";
|
import _React from "react";
|
||||||
import _RN from "react-native";
|
import _RN from "react-native";
|
||||||
import { Events } from "@lib/emitter";
|
|
||||||
|
|
||||||
type MetroModules = { [id: number]: any };
|
type MetroModules = { [id: number]: any };
|
||||||
|
|
||||||
|
@ -178,7 +177,7 @@ interface MMKVManager {
|
||||||
|
|
||||||
type Indexable<Type> = { [index: string]: Type }
|
type Indexable<Type> = { [index: string]: Type }
|
||||||
|
|
||||||
type EmitterEvent = (keyof typeof Events) & string;
|
type EmitterEvent = "SET" | "GET" | "DEL";
|
||||||
|
|
||||||
interface EmitterListenerData {
|
interface EmitterListenerData {
|
||||||
path: string[];
|
path: string[];
|
||||||
|
|
Loading…
Reference in a new issue