Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Dec 10, 2023
1 parent 2667089 commit 6d50778
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,20 @@ import * as Validators from "./src/validators";
import type { ValidatorNames } from "./src/validators";

declare namespace Moleculer {
export { BrokerOptions,
export {
ServiceBroker,
BrokerOptions,
CallingOptions,
TransporterConfig,
CacherConfig,
SerializerConfig,
ReplOptions,
NodeHealthStatus,
MCallCallingOptions };
MCallCallingOptions
};

export {
Service,
ActionSchema,
ActionHooks,
ActionHandler,
Expand Down
2 changes: 1 addition & 1 deletion src/transporters/redis.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Redis, Cluster, ClusterNode, ClusterOptions, RedisOptions } from "
import BaseTransporter = require("./base");

declare namespace RedisTransporter {
export interface RedisTransporterOptions {
export interface RedisTransporterOptions extends RedisOptions {
cluster?: {
nodes?: ClusterNode[];
clusterOptions?: ClusterOptions;
Expand Down

0 comments on commit 6d50778

Please sign in to comment.