UNPKG

ruls

Version:

Typesafe rules engine with JSON encoding

5 lines (4 loc) 285 B
import type { Signal } from './factory'; import type { Schema } from '@decs/typeschema'; export type SignalSet<TContext> = Record<string, Signal<TContext, Schema>>; export declare function getSignalKey<TContext>(signal: Signal<TContext, Schema>, signals: SignalSet<TContext>): string;