Skip to content

Commit dd677ba

Browse files
committed
adds decleration files
1 parent d401835 commit dd677ba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"description": "use vanilla-extract with docusaurus",
55
"main": "./lib/docusaurus-plugin-vanilla-extract.js",
6+
"types": "./lib/docusaurus-plugin-vanilla-extract.d.ts",
67
"scripts": {
78
"test": "test",
89
"build": "tsc",

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
4545

4646
/* Emit */
47-
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
47+
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
4848
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
4949
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
5050
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
5151
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
5252
"outDir": "./lib" /* Specify an output folder for all emitted files. */,
5353
// "removeComments": true, /* Disable emitting comments. */
54-
// "noEmit": true, /* Disable emitting files from a compilation. */
54+
"noEmit": false /* Disable emitting files from a compilation. */,
5555
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
5656
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
5757
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */

0 commit comments

Comments
 (0)