UNPKG
@pulsecron/nestjs-pulse
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
The modern MongoDB-powered scheduling library pulse for NestJS
pulsecron.com
pulsecron/nestjs-pulse
@pulsecron/nestjs-pulse
/
dist
/
decorators
/
define.decorator.d.ts
6 lines
(5 loc)
•
274 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
DefineOptions
}
from
'@pulsecron/pulse'
;
type
NameAndDefineOptions
=
DefineOptions
&
Record
<
'name'
,
string
>;
export
declare
function
Define
(
name
?:
string
):
MethodDecorator
;
export
declare
function
Define
(
options
?:
NameAndDefineOptions
):
MethodDecorator
;
export
{};