Skip to content

Commit

Permalink
feat: expose TransactionQueue and PolymeshTransaction types
Browse files Browse the repository at this point in the history
They can be imported from `@polymathnetwork/polymesh-sdk/types`
  • Loading branch information
monitz87 committed Jul 15, 2020
1 parent a78aa3b commit 544cd2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/base/types.ts
@@ -0,0 +1,5 @@
import { PolymeshTransaction as PolymeshTransactionClass } from './PolymeshTransaction';
import { TransactionQueue as TransactionQueueClass } from './TransactionQueue';

export type PolymeshTransaction = InstanceType<typeof PolymeshTransactionClass>;
export type TransactionQueue = InstanceType<typeof TransactionQueueClass>;
1 change: 1 addition & 0 deletions src/types/index.ts
Expand Up @@ -372,3 +372,4 @@ export enum LinkType {
}

export * from '~/api/entities/types';
export * from '~/base/types';

0 comments on commit 544cd2a

Please sign in to comment.