UNPKG

dotting

Version:

Dotting is a pixel art editor component library for react

13 lines (12 loc) 327 B
export declare class Observable<T> { private observers; subscribe(observer: Observer<T>): void; unsubscribe(observer: Observer<T>): void; notify(data: T): void; } declare class Observer<T> { private callback; constructor(callback: (data: T) => void); update(data: T): void; } export {};