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"] }