Skip to content

Commit

Permalink
fix(decorators): remove typings reference and replace it with static …
Browse files Browse the repository at this point in the history
…declaration
  • Loading branch information
forforeach committed Apr 20, 2016
1 parent 4f2f1d2 commit e5eaa13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@
"typings": "./ng2redux.d.ts",
"homepage": "https://github.com/forforeach/ng2redux",
"peerDependencies": {
"systemjs": "0.19.25",
"angular2": "2.0.0-beta.14",
"es6-shim": "0.35.0",
"es6-promise": "3.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "^0.6.10",
"redux": "3.3.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/decorators/connect.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/// <reference path="../../node_modules/reflect-metadata/reflect-metadata.d.ts"/>
declare var Reflect: any;

import {getAppStore, Store} from './../store';
import {isFunction} from './../utils/utils';
import './../utils/object.assign';



const wrapDispatchMappings = (dispatchMappings) => {
return Object.keys(dispatchMappings).reduce((state, key) => {
state[key] = function(...args) {
Expand Down
3 changes: 2 additions & 1 deletion src/decorators/redux-app.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// <reference path="../../node_modules/reflect-metadata/reflect-metadata.d.ts"/>
declare var Reflect: any;

import {provide, ChangeDetectionStrategy, Type,
ViewEncapsulation, ComponentMetadata} from 'angular2/core';
import {getAppStore} from './../store';
Expand Down

0 comments on commit e5eaa13

Please # to comment.