refactor(store): v2 (#362)

This commit is contained in:
rahim
2026-01-31 23:34:11 +11:00
committed by GitHub
parent 9c725803a6
commit fe892cb911
64 changed files with 1883 additions and 2959 deletions
+1 -1
View File
@@ -1 +1 @@
export function noop(): void {}
export function noop(..._args: unknown[]): void {}
+3
View File
@@ -13,3 +13,6 @@ export type Mixin<Base, Result> = <T extends Constructor<Base>>(Base: T) => T &
export type Falsy<T> = T | false | null | undefined;
export type EnsureFunction<T> = T extends (...args: any[]) => any ? T : never;
/** Flatten intersection types for better IDE display. */
export type Simplify<T> = T extends (...args: any[]) => any ? T : { [K in keyof T]: T[K] } & {};