Skip to content

Instantly share code, notes, and snippets.

View ebrahimmfadae's full-sized avatar
🎯
Focusing

Ebrahim Hoseiny Fadae ebrahimmfadae

🎯
Focusing
View GitHub Profile
@ebrahimmfadae
ebrahimmfadae / 01_x.moleculer.ts
Last active February 20, 2023 02:07
Pure typescript solution to infer `params` and `meta` types in `call` and `mcall`
import {
CallingOptions,
Context,
MCallCallingOptions,
MCallDefinition,
ServiceActionsSchema,
ServiceBroker,
} from 'moleculer'
import { AllActionsUnion } from './actions'