mod should unload itself to avoid being visible; other changes are syntactic

This commit is contained in:
2024-07-12 00:58:51 +00:00
parent 1130b04947
commit 6cff644dc9
4 changed files with 71 additions and 51 deletions

8
ambient.d.ts vendored
View File

@@ -1,15 +1,9 @@
/* eslint-disable no-unused-vars */
/* eslint-disable @typescript-eslint/consistent-type-definitions */
/* eslint-disable @typescript-eslint/member-delimiter-style */
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable @typescript-eslint/semi */
declare namespace LILY {
interface Utils {
remove_hook: undefined | (() => void)
true(callback: () => unknown): true // stops elsint from complainting about constant bool expressions
with<V, R>(value: V, callback: (v: V) => R): R // A silly helper to kinda curry values
send(callback: () => unknown): boolean // updates the player if the function succeeds
send(callback: () => boolean): boolean // updates the player if the function succeeds
}
interface Box {