{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/6479","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/6479/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/6479/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/6479/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/6479","id":113639400,"number":6479,"title":"Fix redux-thunk #6231","user":{"login":"Syati","id":1284368,"avatar_url":"https://avatars.githubusercontent.com/u/1284368?v=3","gravatar_id":"","url":"https://api.github.com/users/Syati","html_url":"https://github.com/Syati","followers_url":"https://api.github.com/users/Syati/followers","following_url":"https://api.github.com/users/Syati/following{/other_user}","gists_url":"https://api.github.com/users/Syati/gists{/gist_id}","starred_url":"https://api.github.com/users/Syati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syati/subscriptions","organizations_url":"https://api.github.com/users/Syati/orgs","repos_url":"https://api.github.com/users/Syati/repos","events_url":"https://api.github.com/users/Syati/events{/privacy}","received_events_url":"https://api.github.com/users/Syati/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-27T17:35:10Z","updated_at":"2015-12-01T00:51:18Z","closed_at":"2015-11-03T17:58:23Z","pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/6479","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/6479","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/6479.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/6479.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/160811494","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/6479#issuecomment-160811494","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/6479","id":160811494,"user":{"login":"Syati","id":1284368,"avatar_url":"https://avatars.githubusercontent.com/u/1284368?v=3","gravatar_id":"","url":"https://api.github.com/users/Syati","html_url":"https://github.com/Syati","followers_url":"https://api.github.com/users/Syati/followers","following_url":"https://api.github.com/users/Syati/following{/other_user}","gists_url":"https://api.github.com/users/Syati/gists{/gist_id}","starred_url":"https://api.github.com/users/Syati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syati/subscriptions","organizations_url":"https://api.github.com/users/Syati/orgs","repos_url":"https://api.github.com/users/Syati/repos","events_url":"https://api.github.com/users/Syati/events{/privacy}","received_events_url":"https://api.github.com/users/Syati/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T00:51:18Z","updated_at":"2015-12-01T00:51:18Z","body":"@johnjelinek \r\n\r\nI think It's better to leave it. according to the following url.\r\n\r\nhttps://github.com/Microsoft/TypeScript/issues/5565\r\n> BTW, it appears that Babel is killing off the export default magic  in their next release\r\n\r\nI transpiled 'redux-thunk' with babel6. The definition works below style.\r\n\r\n```\r\nimport thunk from 'redux-thunk\r\n```\r\n\r\nit's bettter to send redux-thunk a PR that change babel5 to babel6\r\n\r\n\r\nIn reference, I attach the transpiled result\r\n\r\n```\r\n# transpiled with babel6 (6.1.2)\r\n'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n  value: true\r\n});\r\nexports.default = thunkMiddleware;\r\nfunction thunkMiddleware(_ref) {\r\n  var dispatch = _ref.dispatch;\r\n  var getState = _ref.getState;\r\n\r\n  return function (next) {\r\n    return function (action) {\r\n      return typeof action === 'function' ? action(dispatch, getState) : next(action);\r\n    };\r\n  };\r\n}\r\n```\r\n"}}