Skip to content

Commit

Permalink
Fix problem with not detect types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tutitoos committed Jul 23, 2023
1 parent e4763ab commit 1319545
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "util-tiempo",
"version": "1.0.47",
"version": "1.0.48",
"description": "util-tiempo para calcular tiempos, para obtener la fecha a elegir, con muchas opciones!",
"author": "Tutitoos",
"license": "MIT",
Expand Down Expand Up @@ -28,7 +28,7 @@
"getFormatDate"
],
"main": "dist/index.js",
"types": "types/index.d.ts",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"esModuleInterop": true,
"outDir": "dist",
"declaration": true,
"declarationDir": "./dist/types",
"declarationDir": "dist",
"noEmitOnError": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"strictNullChecks": true
},
"include": ["src/**/*.ts"]
"include": [
"src/**/*.ts"
]
}

0 comments on commit 1319545

Please sign in to comment.