Skip to content

Commit

Permalink
Fix type exports by removing @internal tags (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebrianchen authored Jul 19, 2022
1 parent ec34d30 commit faf680a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/internal/internal-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export type SingleOrBatchResponse = JsonRpcResponse | JsonRpcResponse[];
* Subscription API types. The original class is not exported by ethers. Minimal
* changes have been made in order to get TS to compile.
*/
class Event {
export class Event {
readonly listener: Listener;
readonly once: boolean;
readonly tag: string;
Expand Down Expand Up @@ -136,8 +136,6 @@ class Event {
/**
* Wrapper class around the ethers `Event` class in order to add support for
* Alchemy's custom subscriptions types.
*
* @internal
*/
export class EthersEvent extends Event {
get address(): string | null {
Expand All @@ -153,7 +151,6 @@ export class EthersEvent extends Event {
}
}

/** @internal */
export interface SubscriptionEvent<T = any> {
jsonrpc: '2.0';
method: 'eth_subscription';
Expand Down

0 comments on commit faf680a

Please sign in to comment.