chore(ci): add explicit checks and Claude diagnosis (#664)

This commit is contained in:
rahim
2026-02-28 23:33:22 -08:00
committed by GitHub
parent 7c8b9c00d9
commit 50bf91ed87
7 changed files with 216 additions and 21 deletions
@@ -10,10 +10,8 @@ interface ReactiveController {
/** Manages the video player lifecycle. */
export class PlayerController implements ReactiveController {
#host: ReactiveControllerHost;
constructor(host: ReactiveControllerHost) {
this.#host = host;
host.addController(this);
}
/** Whether the player is ready. */
@@ -1,7 +1,3 @@
interface Store<S> {
getState(): S;
}
type SelectorFn<S, R> = (state: S) => R;
/** Create a memoized selector function. */
@@ -14,8 +14,6 @@ interface Store<S> {
/** Takes a snapshot of store state. */
export class SnapshotController<S, R = S> implements ReactiveController {
#host: ReactiveControllerHost;
/**
* @param host - The host element.
* @param state - The store to snapshot.
@@ -28,7 +26,7 @@ export class SnapshotController<S, R = S> implements ReactiveController {
*/
constructor(host: ReactiveControllerHost, state: Store<S>);
constructor(host: ReactiveControllerHost, state: Store<S>, selector?: (state: S) => R) {
this.#host = host;
host.addController(this);
}
/** The current snapshot value. */