Skip to content

Commit 49cc4b5

Browse files
author
Flavio Corpa
committed
build(declarations): put declarations in dist folder as well
1 parent 66edf21 commit 49cc4b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"es2015": "index.ts",
66
"source": "index.ts",
77
"main": "dist/index.js",
8-
"types": "dist/types/index.d.ts",
8+
"types": "dist/index.d.ts",
99
"scripts": {
1010
"build": "tsc",
1111
"check-coverage": "nyc check-coverage --statements 98 --branches 90 --functions 96 --lines 99",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"allowSyntheticDefaultImports": true,
1515
"experimentalDecorators": true,
1616
"emitDecoratorMetadata": true,
17-
"declarationDir": "dist/types",
17+
"declarationDir": "dist",
1818
"outDir": "dist",
1919
"typeRoots": [
2020
"node_modules/@types"

0 commit comments

Comments
 (0)