Skip to content

Commit fb20f97

Browse files
committed
automatically generate types
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
1 parent 2486145 commit fb20f97

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"allowJs": true, /* Allow javascript files to be compiled. */
99
// "checkJs": true, /* Report errors in .js files. */
1010
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
11-
"declaration": false, /* Generates corresponding '.d.ts' file. */
11+
"declaration": true, /* Generates corresponding '.d.ts' file. */
12+
"declarationDir": "types", /* Specify the output directory for generated declaration files. */
1213
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1314
// "sourceMap": true, /* Generates corresponding '.map' file. */
1415
// "outFile": "./", /* Concatenate and emit output to single file. */

types/index.d.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)