Skip to content

Commit 4b38634

Browse files
committed
Generate types declaration file
Signed-off-by: sirugh <rugh@adobe.com>
1 parent 0e91ad7 commit 4b38634

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
@@ -4,7 +4,7 @@
44
"description": "An apollo link that queues mutations",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
7-
"typings": "dist/index.d.ts",
7+
"types": "dist/index.d.ts",
88
"scripts": {
99
"build": "tsc",
1010
"prepare": "yarn build"

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declaration": false,
3+
"declaration": true,
44
"module": "commonjs",
55
"moduleResolution": "node",
66
"noImplicitAny": true,

0 commit comments

Comments
 (0)