From 079285a9f254977a0d10d98b4836866ee53e2a9c Mon Sep 17 00:00:00 2001 From: Dan Russell <4387475+dangrussell@users.noreply.github.com> Date: Tue, 6 Jul 2021 11:06:01 -0400 Subject: [PATCH] Add file extenstion to typings property value (#151) TypeScript requires the file extension be specified in typings / types property. https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d83a0a..e7c8dfa 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "3.9.0", "description": "Load node modules according to tsconfig paths, in run-time or via API.", "main": "lib/index.js", - "types": "lib/index", + "types": "lib/index.d.ts", "author": "Jonas Kello", "license": "MIT", "repository": "https://github.com/dividab/tsconfig-paths",