From 4484918769743e0913c838dc7e9172d37bfbcb37 Mon Sep 17 00:00:00 2001 From: Ian Lovett Date: Tue, 5 May 2020 10:43:06 -0700 Subject: [PATCH] fix(typescript): changed root location of `types` relative to `main` index.js to fix import autocomplete --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 95430395c9..0169b8555e 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "repository": "tannerlinsley/react-query", "homepage": "https://github.com/tannerlinsley/react-query#readme", "main": "index.js", + "types": "types/index.d.ts", "module": "dist/react-query.mjs", - "types": "types", "sideEffects": false, "scripts": { "test": "is-ci \"test:ci\" \"test:dev\"",