From 92082ffa9b58c03f119618c0431318d16a4a04eb Mon Sep 17 00:00:00 2001 From: Morley Zhi Date: Wed, 3 Jul 2019 12:38:40 -0400 Subject: [PATCH] Export types in a `Types` namespace (#77) Makes it easier to distinguish between types and the other non-type exports. --- package.json | 2 +- src/index.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1a707070..ec089b9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stellar/wallet-sdk", - "version": "0.0.3-rc9", + "version": "0.0.3-rc10", "description": "Libraries to help you write Stellar-enabled wallets in Javascript", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/index.ts b/src/index.ts index 485a8fb0..346da51d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,9 @@ /** * Types */ -export * from "./types"; +import * as Types from "./types"; + +export { Types }; /** * Constants