typescriptification: settings & fixes edition
parent
d8fcaac4a1
commit
0c97beef46
File diff suppressed because one or more lines are too long
@ -1,13 +1,33 @@
|
||||
interface Nest<Schema> {
|
||||
ghost: Schema,
|
||||
store: Schema,
|
||||
on: (event: string, callback: (eve: string, { path, value }: { path: string, value: any }) => void) => void
|
||||
on: (event: string, callback: (eve: string, { path, value }: { path: string[] | string, value: any }) => void) => void,
|
||||
get: any,
|
||||
set: any,
|
||||
delete: any,
|
||||
update: any,
|
||||
listeners: any,
|
||||
once: any,
|
||||
off: any,
|
||||
emit: any
|
||||
}
|
||||
|
||||
declare const demon: {
|
||||
const demon: {
|
||||
summon: (mod: string) => any
|
||||
}
|
||||
|
||||
interface Window {
|
||||
beelzejuice: Uint8Array[]
|
||||
webpackChunkdiscord_app: any
|
||||
}
|
||||
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
hr: any
|
||||
svg: any
|
||||
path: any
|
||||
div: any
|
||||
label: any
|
||||
span: any
|
||||
}
|
||||
}
|
Loading…
Reference in new issue