From 5d5cba2cb4269771c947dc79e0d9bf76520d6ee7 Mon Sep 17 00:00:00 2001 From: Salisbury Date: Thu, 12 Dec 2024 09:21:20 +0300 Subject: [PATCH] Update index.d.ts - export RateLimitStores/ApiGatewayErrors 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 ``` --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index f7e79455..f7815672 100644 --- a/index.d.ts +++ b/index.d.ts @@ -61,7 +61,7 @@ declare module "moleculer-web" { inc(key: string): number | Promise; } - interface RateLimitStores { + export interface RateLimitStores { MemoryStore: typeof MemoryStore; } @@ -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;