utils/node_modules/computeds/out/signal.d.ts

8 lines
218 B
TypeScript
Raw Normal View History

2024-02-07 01:33:07 -05:00
export interface Signal<T = any> {
(): T;
set(newValue: T): void;
markDirty(): void;
}
export declare function signal<T>(): Signal<T | undefined>;
export declare function signal<T>(oldValue: T): Signal<T>;