Skip to content

Instantly share code, notes, and snippets.

@MikeRyanDev
Created January 14, 2016 00:55
Show Gist options
  • Save MikeRyanDev/eba6ee395c17677182a4 to your computer and use it in GitHub Desktop.
Save MikeRyanDev/eba6ee395c17677182a4 to your computer and use it in GitHub Desktop.
import {Inject} from ‘angular2/core’;
import {Store} from ‘redux’;
import {REDUX_STORE} from ‘../di-tokens’;
class MyService{
  // This is pretty redundant…
  constructor(@Inject(REDUX_STORE) store: Store){ }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment