mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 10:35:37 +00:00
fix: add select all selector to the custom events
This commit is contained in:
parent
84f25ecfb1
commit
e523676147
3
api/types/event-emitter.d.ts
vendored
3
api/types/event-emitter.d.ts
vendored
@ -314,7 +314,8 @@ declare module '@nestjs/event-emitter' {
|
||||
: false;
|
||||
|
||||
type TCustomEvents<G extends keyof IHookEntityOperationMap> =
|
||||
keyof IHookEntityOperationMap[G]['operations'];
|
||||
| '*'
|
||||
| keyof IHookEntityOperationMap[G]['operations'];
|
||||
|
||||
type TNormalizedOrCustomized<G> = G extends IHookEntities
|
||||
? TNormalizedEvents | TCustomEvents<G>
|
||||
|
Loading…
Reference in New Issue
Block a user