Skip to content

Commit 492d5d4

Browse files
committed
declare types in ts
1 parent 61d8252 commit 492d5d4

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"name": "unoapi-cloud",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "Unoapi Cloud",
5-
"main": "src/index.ts",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
7+
"files": [
8+
"/dist"
9+
],
610
"repository": "github.com/clairton/unoapi-cloud",
711
"author": "Clairton Rodrig Heinzen<clairton.rodrigo@gmail.com>",
812
"license": "GPL-3.0",

tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
"module": "commonjs",
55
"target": "ESNext",
66
"lib": ["ESNext"],
7+
"declaration": true,
78
"outDir": "./dist",
8-
"rootDir": "./src",
99
"esModuleInterop": true,
10-
"noImplicitAny": false,
10+
"noImplicitAny": false
1111
},
12+
"include": [
13+
"src/**/*"
14+
],
1215
"ts-node": {
1316
"compilerOptions": {
1417
"module": "commonjs"

0 commit comments

Comments
 (0)