Skip to content

Commit

Permalink
Update index.d.ts - export RateLimitStores/ApiGatewayErrors
Browse files Browse the repository at this point in the history
fix for:
```
TS4082: Default export of the module has or is using private name ApiGatewayErrors
TS4082: Default export of the module has or is using private name RateLimitStores
```
  • Loading branch information
salisbury-espinosa authored Dec 12, 2024
1 parent c6ec800 commit 5d5cba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "moleculer-web" {
inc(key: string): number | Promise<number>;
}

interface RateLimitStores {
export interface RateLimitStores {
MemoryStore: typeof MemoryStore;
}

Expand Down Expand Up @@ -335,7 +335,7 @@ declare module "moleculer-web" {
constructor(type: string, data: any);
}

interface ApiGatewayErrors {
export interface ApiGatewayErrors {
InvalidRequestBodyError: typeof InvalidRequestBodyError;
InvalidResponseTypeError: typeof InvalidResponseTypeError;
UnAuthorizedError: typeof UnAuthorizedError;
Expand Down

0 comments on commit 5d5cba2

Please sign in to comment.