diff --git a/package.json b/package.json index e40d0a5..d972592 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "stellar-plus", - "version": "0.1.9", + "version": "0.1.10", "description": "beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain", "main": "./lib/index.js", + "types": "./lib/index.d.ts", "files": [ "lib/**/*" ], diff --git a/tsconfig.json b/tsconfig.json index f715ecb..689cec5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -51,7 +51,7 @@ // "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. */ + "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. */