Hi.
https://github.com/developit/unfetch/blob/master/packages/isomorphic-unfetch/index.js#L1
code uses module.exports, but definition is using export default, I think it should be export = in https://github.com/developit/unfetch/blob/master/packages/isomorphic-unfetch/index.d.ts#L17
and use with `import * as fetch from 'isomorphic-unfetch'
Definitely - would you be up for PR'ing that change?
fix developit#87 change isomorphic-fetch ts definition: export defaul…
#89
fix #87 change isomorphic-fetch ts definition: export default to expo…
Hi.
https://github.com/developit/unfetch/blob/master/packages/isomorphic-unfetch/index.js#L1
code uses module.exports, but definition is using export default, I think it should be export = in https://github.com/developit/unfetch/blob/master/packages/isomorphic-unfetch/index.d.ts#L17
and use with `import * as fetch from 'isomorphic-unfetch'
Related issue