gullerya / object-observer

Object Observer functionality of JavaScript objects/arrays via native Proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix TS definition of Observable

gullerya opened this issue · comments

Observable should be some kind of generic type, allowing to have all of the properties of the source object + the own ones.

For example:

static from<T>(target: T, options?: ObservableOptions): Observable & T;