[Metro > Common] Properly type moment
This commit is contained in:
parent
9080769a0c
commit
1ede4e088e
2 changed files with 3 additions and 3 deletions
4
src/def.d.ts
vendored
4
src/def.d.ts
vendored
|
@ -373,8 +373,8 @@ interface VendettaObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface VendettaPluginObject {
|
interface VendettaPluginObject {
|
||||||
manifest: PluginManifest,
|
manifest: PluginManifest;
|
||||||
storage: Indexable<any>,
|
storage: Indexable<any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
|
|
@ -14,4 +14,4 @@ export const ReactNative = basicFind("Text") as typeof import("react-native");
|
||||||
export const constants = basicFind("AbortCodes");
|
export const constants = basicFind("AbortCodes");
|
||||||
|
|
||||||
// Export moment
|
// Export moment
|
||||||
export const moment = basicFind("isMoment");
|
export const moment = basicFind("isMoment") as typeof import("moment");
|
||||||
|
|
Loading…
Reference in a new issue