update types and format bindings

This commit is contained in:
Aiden McClelland
2024-03-28 11:20:20 -06:00
parent 65ca038eee
commit 86d61d698a
101 changed files with 457 additions and 139 deletions

View File

@@ -3,4 +3,9 @@ import type { InstalledState } from "./InstalledState";
import type { InstallingState } from "./InstallingState";
import type { UpdatingState } from "./UpdatingState";
export type PackageState = { "state": "installing" } & InstallingState | { "state": "restoring" } & InstallingState | { "state": "updating" } & UpdatingState | { "state": "installed" } & InstalledState | { "state": "removing" } & InstalledState;
export type PackageState =
| ({ state: "installing" } & InstallingState)
| ({ state: "restoring" } & InstallingState)
| ({ state: "updating" } & UpdatingState)
| ({ state: "installed" } & InstalledState)
| ({ state: "removing" } & InstalledState);