Skip to content

Commit b577644

Browse files
committed
fix: Исправлен тип метода handler класса Method #3
1 parent 2b71941 commit b577644

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lad-tech/nsc-toolkit",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "Toolkit for create microservices around NATS",
55
"main": "dist/index.js",
66
"types": "./dist/types/index.d.ts",

src/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface MethodSettings {
2525

2626
export interface Method {
2727
settings: MethodSettings;
28-
new (): { handler: (params: unknown) => Promise<unknown> };
28+
new (): { handler: (params: any) => Promise<any> };
2929
}
3030

3131
export type ClientService<C = Client> = new (

0 commit comments

Comments
 (0)