-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtypes.modules.d.ts
36 lines (30 loc) · 1.12 KB
/
types.modules.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Module import types
// This was gonna originally be in the types.scoped.d.ts file, but TS sucks and won't allow both at the same time
declare module '*.webp' {
const src: string
export = src
}
declare module '@revenge-mod/modules/metro/caches' {
// We need this line for some reason...
const caches: import('./libraries/modules/src/metro/caches')
export * from './libraries/modules/src/metro/caches'
}
declare module '@revenge-mod/modules/finders' {
// We need this line for some reason...
const finders: import('./libraries/modules/src/finders')
export * from './libraries/modules/src/finders'
}
declare module '@revenge-mod/preferences' {
const preferences: typeof import('./libraries/preferences/src/index')
export * from './libraries/preferences/src/index'
export default preferences
}
declare module '@revenge-mod/trust' {
const preferences: typeof import('./libraries/trust/src/index')
export * from './libraries/trust/src/index'
export default preferences
}
declare module 'events' {
const events: typeof import('./shims/events')
export * from './shims/events'
}