HandlerName
type alias in meocord/testing Since 4.1.0
type HandlerName<C extends new (...args: any[]) => unknown> = {
[K in keyof InstanceType<C>]: InstanceType<C>[K] extends (
...args: any[]
) => unknown
? K
: never
}[keyof InstanceType<C>] &
stringThe names of a class's instance methods, as TestingModule.invoke takes them.