Skip to content

Commit c48fa15

Browse files
authored
feat: include .d.ts types in release (relay-tools#309)
1 parent a190679 commit c48fa15

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
}
2929
],
3030
"main": "lib/index.js",
31+
"types": "lib/index.d.ts",
3132
"files": [
3233
"lib"
3334
],

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"allowJs": true /* Allow javascript files to be compiled. */,
1212
"checkJs": false /* Report errors in .js files. */,
1313
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
14-
// "declaration": true, /* Generates corresponding '.d.ts' file. */
14+
"declaration": true /* Generates corresponding '.d.ts' file. */,
1515
// "sourceMap": true, /* Generates corresponding '.map' file. */
1616
// "outFile": "./", /* Concatenate and emit output to single file. */
1717
"outDir": "./lib" /* Redirect output structure to the directory. */,

0 commit comments

Comments
 (0)