[nr] copy types system from the previous ver of Reactive.js