angular-redux / ng-redux

Angular bindings for Redux
MIT License
1.16k stars 177 forks source link

3.5.0 Typings not updated #153

Closed jrakotoharisoa closed 7 years ago

jrakotoharisoa commented 7 years ago

Angular module name is no more exported as default.

So this code no more working

import NgRedux from 'ng-redux';

angular.module('app', [NgRedux]);

Now we should do that, but typing doesn't allow it:

import * as NgRedux from 'ng-redux';

angular.module('app', [NgRedux]);
Nagogus commented 7 years ago

@jrakotoharisoa Have you found any way to import 3.5.0? For me the only solution was to downgrade to 3.4.1.

jrakotoharisoa commented 7 years ago

@Nagogus Temporarily, I use :

const NgRedux = require('ng-redux');

angular.module('app', [NgRedux]);
jrakotoharisoa commented 7 years ago

Fix with #155

AntJanus commented 7 years ago

The fix for this will be released in version 3.5.1