Skip to content

Commit

Permalink
Update dependencies, fix typings, make build make more sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
tswaters committed Aug 30, 2019
1 parent 1e55e54 commit 33132b0
Show file tree
Hide file tree
Showing 6 changed files with 2,098 additions and 2,028 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2019,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
Expand Down
4 changes: 2 additions & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { OutputSelector } from 'reselect';
import { Unsubscribe, Store } from 'redux';
import { Unsubscribe, Store, Action } from 'redux';

declare const defaultExport: <S, R, C>(store: Store<S>, selector: OutputSelector<S, R, C>, cb: (res: R) => void) => Unsubscribe;
declare const defaultExport: <S, A extends Action, R, C>(store: Store<S, A>, selector: OutputSelector<S, R, C>, cb: (res: R) => void) => Unsubscribe;

export default defaultExport;
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
exports["default"] = void 0;

var _default = function _default(store, selector, cb) {
var data = selector(store.getState());
Expand All @@ -17,4 +17,4 @@ var _default = function _default(store, selector, cb) {
});
};

exports.default = _default;
exports["default"] = _default;
Loading

0 comments on commit 33132b0

Please sign in to comment.