feat: make AbstractModuleService create method type-safe (#11216)
This commit is contained in:
1 parent
6cd8249a2c
commit
016e332e9b
23 files changed
+677
-35
No files matched your search
@@ -63,6 +63,7 @@ export default class NotificationModuleService
|
||||
data: NotificationTypes.CreateNotificationDTO[],
|
||||
sharedContext?: Context
|
||||
): Promise<NotificationTypes.NotificationDTO[]>
|
||||
// @ts-expect-error
|
||||
createNotifications(
|
||||
data: NotificationTypes.CreateNotificationDTO,
|
||||
sharedContext?: Context
|
||||
@@ -70,6 +71,7 @@ export default class NotificationModuleService
|
||||
|
||||
@InjectManager()
|
||||
@EmitEvents()
|
||||
// @ts-expect-error
|
||||
async createNotifications(
|
||||
data:
|
||||
| NotificationTypes.CreateNotificationDTO
|
||||
|
||||
Reference in new issue
Block a user