Skip to content

Commit

Permalink
add type extending
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Dec 10, 2023
1 parent b779ebf commit 3c4b898
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ interface RestSchema {
basePath?: string;
}

import "moleculer";
declare module "moleculer" {
interface ActionSchema {
rest?: RestSchema | RestSchema[] | string | string[] | null;
Expand Down

0 comments on commit 3c4b898

Please sign in to comment.