From deaea581af93aed0e602ce6ee8dac89ada155ff6 Mon Sep 17 00:00:00 2001 From: Fabricius Zatti <62725221+fazzatti@users.noreply.github.com> Date: Mon, 27 Nov 2023 15:38:35 -0300 Subject: [PATCH] add declarations --- package.json | 3 ++- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7e3d2de..d972592 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "stellar-plus", - "version": "0.1.8", + "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. */