From 910500232627dc4c8017f0d371e381ebe3293ca7 Mon Sep 17 00:00:00 2001 From: Alasdair McLeay Date: Mon, 6 Jun 2022 21:53:49 +0100 Subject: [PATCH] Prefer types exports over require, import, browser --- packages/fetch/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fetch/package.json b/packages/fetch/package.json index dabbc55..e590d38 100644 --- a/packages/fetch/package.json +++ b/packages/fetch/package.json @@ -9,9 +9,9 @@ "type": "module", "exports": { ".": { + "types": "./dist/src/lib.node.d.ts", "require": "./dist/lib.node.cjs", "import": "./src/lib.node.js", - "types": "./dist/src/lib.node.d.ts", "browser": "./src/lib.js" }, "./package.json": "./package.json",