Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Export types in a Types namespace (#77)
Browse files Browse the repository at this point in the history
Makes it easier to distinguish between types and the other non-type exports.
  • Loading branch information
Morley Zhi authored Jul 3, 2019
1 parent d73e9dc commit 92082ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/**
* Types
*/
export * from "./types";
import * as Types from "./types";

export { Types };

/**
* Constants
Expand Down

0 comments on commit 92082ff

Please sign in to comment.