UNPKG

@connectv/core

Version:

agent-based reactive programming library for typescript/javascript

12 lines (11 loc) 378 B
import { PinLike } from '../pin/pin-like'; import { Agent } from './agent'; export declare class Switch extends Agent { readonly cases: any[]; constructor(...cases: any[]); get target(): PinLike; case(index: number): PinLike; protected createOutput(label: string): PinLike; } export declare function _switch(...cases: any[]): Switch; export default _switch;