Visitar URL original
Include Typescript typings in published package by resir014 · Pull Request #70 · developit/unfetch · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Include Typescript typings in published package
This should fix Typescript projects being unable to load the included typings.
  • Loading branch information
resir014 authored Apr 30, 2018
commit 027148d8654208d91b403ca9fee84c6cb0686893
5 changes: 5 additions & 0 deletions packages/isomorphic-unfetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"name": "isomorphic-unfetch",
"version": "2.0.0",
"description": "Switches between unfetch & node-fetch for client & server.",
"files": [
"index.js",
"index.d.ts",
"browser.js"
],
"browser": "browser.js",
"main": "index.js",
"types": "index.d.ts",
Expand Down