UNPKG
@addapptables/microservice
Version:
latest (2.0.1)
2.0.1
2.0.0
1.1.0
1.0.0
1.0.0-0
0.0.3-0
0.0.2-0
0.0.1
0.0.1-0
addapptables microservice
github.com/addapptables/miscellaneous
addapptables/miscellaneous
@addapptables/microservice
/
dist
/
decorators
/
command-handler.decorator.d.ts
5 lines
(4 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
import
{
ICommandDto
}
from
'../interfaces'
;
import
{
Command
}
from
'../command'
;
import
{
Type
}
from
'@nestjs/common'
;
export
declare
function
CommandHandler
<T
extends
Type
<
Command
<
ICommandDto
>>>(
command
: T):
ClassDecorator
;