Skip to content

Commit

Permalink
Fix "export * as" syntax (to support ts < 3.8) (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklatkovich-pixelplex authored Sep 17, 2020
1 parent 664de26 commit eb347c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "echojs-lib",
"version": "1.12.1-rc.0",
"version": "1.12.1-rc.1",
"description": "Pure JavaScript ECHO library for node.js",
"main": "./dist/index.js",
"types": "./types/index.d.ts",
Expand Down
6 changes: 4 additions & 2 deletions types/serializers/protocol/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ import {
contractSelfdestructOperationPropsSerializer
} from './contract';

import * as economy from './economy';

import {
proposalCreateOperationPropsSerializer,
proposalUpdateOperationPropsSerializer,
Expand Down Expand Up @@ -86,6 +88,8 @@ export { AccountListingSerializer, accountListing, ACCOUNT_LISTING } from './acc

export { blockRewardOperationPropsSerializer as blockReward } from './block_reward';

export { economy };

export { evmAddressRegisterOperationPropsSerializer as evmAddress } from './evm_address';

export declare const account: {
Expand Down Expand Up @@ -191,5 +195,3 @@ export declare const did: {
update: typeof didUpdateOperationSerializer,
delete: typeof didDeleteOperationSerializer,
}

export * as economy from './economy';

0 comments on commit eb347c7

Please sign in to comment.