UNPKG

dataorm

Version:
8 lines (7 loc) 247 B
declare class Subject { protected static observers: Function[]; static subscribe(fn: Function): () => void; protected static fire(data: object): void; protected static unsubscribe(fnr: Function): void; } export { Subject };