23 lines
448 B
TypeScript
23 lines
448 B
TypeScript
export {}
|
|
|
|
interface Mp {
|
|
trigger(event: string, data?: any): void
|
|
events: {
|
|
add(event: string, data: any): void
|
|
call(event: string, data: any): void
|
|
callRemote(event: string, data: any): void
|
|
}
|
|
joaat?: unknown
|
|
game: {
|
|
joaat?: unknown
|
|
}
|
|
}
|
|
|
|
declare global {
|
|
const mp: Mp
|
|
const global: Record<string, (...args: any[]) => unknown>
|
|
interface Window {
|
|
[p: string]: any
|
|
}
|
|
}
|