From 027148d8654208d91b403ca9fee84c6cb0686893 Mon Sep 17 00:00:00 2001 From: Resi Respati Date: Mon, 30 Apr 2018 21:18:33 +0700 Subject: [PATCH] Include Typescript typings in published package This should fix Typescript projects being unable to load the included typings. --- packages/isomorphic-unfetch/package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/isomorphic-unfetch/package.json b/packages/isomorphic-unfetch/package.json index 24c524e..378bec1 100644 --- a/packages/isomorphic-unfetch/package.json +++ b/packages/isomorphic-unfetch/package.json @@ -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",