From ac4ee8f733aa53191420aa002b49c4b1c170f1f8 Mon Sep 17 00:00:00 2001 From: Simon Ramsay Date: Mon, 2 May 2016 14:57:55 -0400 Subject: [PATCH] added type to injected ngRedux in first example --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 537593a..6eff784 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,14 @@ Angular 2 components: ```typescript import { NgRedux } from 'ng2-redux'; +interface IAppState { + // ... +}; @Component({ // ... etc. }) class AppComponent { - constructor(private ngRedux: NgRedux) {} + constructor(private ngRedux: NgRedux) {} // ... }