Skip to content

Commit 01ad25d

Browse files
DomjekThomas Dombek
and
Thomas Dombek
authored
fix exports and types (#119)
* adjust package.json and tsconfig.json * remove typings from package.json --------- Co-authored-by: Thomas Dombek <[email protected]>
1 parent 371898f commit 01ad25d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "OData EDM generator",
55
"type": "module",
66
"exports": {
7-
"import": "./dist/esm/api/decorators.js"
7+
"default" : "./dist/esm/api/decorators.js",
8+
"types" : "./dist/esm/api/decorators.d.ts"
89
},
9-
"typings": "dist/types/api/decorators",
1010
"bin": {
1111
"gen-edm": "dist/esm/cli/index.js"
1212
},

tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
"module": "ESNext",
55
"moduleResolution": "Node",
66
"declaration": true,
7-
"declarationMap": true,
8-
"declarationDir": "./dist/types",
97
"sourceMap": true,
108
"outDir": "./dist/esm",
119
"strict": true,

0 commit comments

Comments
 (0)