[Metro > Common] Properly type moment

This commit is contained in:
Beef 2023-02-14 18:35:48 +00:00
parent 9080769a0c
commit 1ede4e088e
2 changed files with 3 additions and 3 deletions

4
src/def.d.ts vendored
View file

@ -373,8 +373,8 @@ interface VendettaObject {
}
interface VendettaPluginObject {
manifest: PluginManifest,
storage: Indexable<any>,
manifest: PluginManifest;
storage: Indexable<any>;
}
declare global {

View file

@ -14,4 +14,4 @@ export const ReactNative = basicFind("Text") as typeof import("react-native");
export const constants = basicFind("AbortCodes");
// Export moment
export const moment = basicFind("isMoment");
export const moment = basicFind("isMoment") as typeof import("moment");