From 48f66316a1eb05f6b9a6782b8ed2cbcac6c8e4f4 Mon Sep 17 00:00:00 2001 From: Christian Kaisermann Date: Thu, 3 Dec 2020 11:01:55 -0300 Subject: [PATCH] Fix generated types --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/tsconfig.json | 5 +++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ce7c4a..764bc45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed + +- Generated types. + ## [1.0.0] - 2020-12-03 ### Added diff --git a/package.json b/package.json index 5b966b4..fc02800 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "main": "dist/main.cjs.js", "module": "dist/main.esm.js", - "types": "types/index.d.ts", + "types": "types/main.d.ts", "publishConfig": { "access": "public" }, diff --git a/src/tsconfig.json b/src/tsconfig.json index ec72c57..da251bd 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -2,7 +2,8 @@ "extends": "../tsconfig.json", "compilerOptions": { "declaration": true, - "declarationDir": "../types/runtime" + "declarationDir": "../types" }, - "include": ["."] + "include": ["**/*.ts"], + "exclude": ["*.test.ts"] }