0.0.3: added Kitty, plus a bit of cleanup
This commit is contained in:
3
ambient.d.ts
vendored
3
ambient.d.ts
vendored
@@ -3,6 +3,7 @@ declare namespace LILY {
|
||||
remove_hook: undefined | (() => void)
|
||||
true(callback: () => unknown): true // stops eslint from complaining about constant bool expressions
|
||||
with<V, R>(value: V, callback: (v: V) => R): R // A silly helper to kinda curry values
|
||||
ass<V, R>(value: V | undefined | null, callback: (v: V) => R): R | undefined /* ditto, but check for empty */ //eslint-disable-line @typescript-eslint/ban-types
|
||||
send(callback: () => boolean): boolean // updates the player if the function succeeds
|
||||
}
|
||||
|
||||
@@ -36,7 +37,7 @@ declare namespace LILY {
|
||||
interface Commands extends Command<Commands> {}
|
||||
interface Belt {
|
||||
admins: number[]
|
||||
users: number[]
|
||||
users: Record<number, {zone: AssetGroupName, name: string}>
|
||||
cli: Commands
|
||||
is_cb(subject: Commands | CommandCB): subject is CommandCB
|
||||
run(tokens: string[]): string
|
||||
|
Reference in New Issue
Block a user