mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
cqrs-domain: Fix lint (#27766)
This commit is contained in:
parent
fbdb59354a
commit
6e84013ebc
4
types/cqrs-domain/index.d.ts
vendored
4
types/cqrs-domain/index.d.ts
vendored
@ -252,7 +252,7 @@ declare namespace Domain {
|
||||
|
||||
/**
|
||||
* @param data is the command data
|
||||
* @callback callback is optional, if not defined as function argument you can throw errors or return errors here (sync way)
|
||||
* @param callback is optional, if not defined as function argument you can throw errors or return errors here (sync way)
|
||||
*/
|
||||
type preLoadConditionHandler = (data: any, callback?: (err: string | Error) => string | Error) => void | string | Error;
|
||||
|
||||
@ -295,7 +295,7 @@ declare namespace Domain {
|
||||
/**
|
||||
* @param data is the command data
|
||||
* @param aggregate is the aggregate object
|
||||
* @callback callback is optional, if not defined as function argument you can throw errors or return errors here (sync way)
|
||||
* @param callback is optional, if not defined as function argument you can throw errors or return errors here (sync way)
|
||||
*/
|
||||
type preConditionHandler = (data: any, aggregate: AggregateModel, callback?: (err: string | Error) => string | Error) => void | string | Error;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user