From 184629842ab304a655b03ca0c71d62f30a8c1853 Mon Sep 17 00:00:00 2001 From: Zacky Ma Date: Thu, 27 Jun 2019 21:13:58 -0700 Subject: [PATCH] Correct the types file. Leaving it as `index.d.ts` causes stencil.core.d.ts not being generated with a fresh `stencil build` (run `stencil build` again will generate stencil.core.d.ts file though), because it's checking if index.d.ts file exists, but it really should be checking if components.d.ts file exists. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f7290b..aa1b5d5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "module": "dist/index.mjs", "es2015": "dist/esm/index.mjs", "es2017": "dist/esm/index.mjs", - "types": "dist/types/index.d.ts", + "types": "dist/types/components.d.ts", "collection": "dist/collection/collection-manifest.json", "collection:main": "dist/collection/index.js", "unpkg": "dist/stencil-starter-project-name/stencil-starter-project-name.js",