diff --git a/package.json b/package.json index c2a3bbd..c27ef3d 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,10 @@ { "name": "piped-api", - "version": "1.0.2", + "version": "1.0.3", "description": "", "main": "dist/index.js", "type": "module", + "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", diff --git a/tsconfig.json b/tsconfig.json index 151dc4e..b91933b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -49,8 +49,8 @@ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ /* Emit */ - // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ - // "declarationMap": true, /* Create sourcemaps for d.ts files. */ + "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, + "declarationMap": true /* Create sourcemaps for d.ts files. */, // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */