ng2-rx-collector
Advanced tools
Comparing version 0.1.1 to 0.2.0
{ | ||
"name": "ng2-rx-collector", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Angular 2 garbage collector for RxJS subscriptions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -20,3 +20,3 @@ # ng2-rx-collector | ||
Import the `Collected` decorator and `CollectorEvent` data type which will do all the magic. | ||
Import the `Collected` decorator and `CollectorEvent` data type (actually you can use `any` instead of `CollectorEvent` if this feels better) which will do all the magic. | ||
@@ -33,3 +33,3 @@ ```ts | ||
@Collected() private collected = new CollectorEvent(); | ||
@Collected() private collected: CollectorEvent; | ||
@@ -70,3 +70,3 @@ } | ||
import { Component } from '@angular/core'; | ||
import { Collected, CollectedEvent } from './src'; | ||
import { Collected, CollectorEvent } from './src'; | ||
import { timer } from './timer'; | ||
@@ -79,3 +79,3 @@ | ||
@Collected() private collected: CollectedEvent; | ||
@Collected() private collected: CollectorEvent; | ||
@@ -82,0 +82,0 @@ public ngOnInit() { |
5730