UNPKG
@ngx-cocktail/destroyable
Version:
latest (21.0.1)
ng15 (15.0.1)
ng16 (16.0.1)
ng17 (17.0.1)
ng18 (18.0.4)
ng19 (19.0.1)
ng20 (20.0.3)
21.0.1
21.0.0
20.0.3
20.0.2
20.0.1
20.0.0
19.0.1
19.0.0
18.0.4
18.0.3
18.0.2
18.0.1
18.0.0
17.0.1
17.0.0
16.0.1
16.0.0
15.0.1
15.0.0
14.0.4
14.0.3
14.0.2
14.0.1
13.0.2
13.0.1
12.0.1
11.0.1
10.0.2
10.0.1
9.0.1
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
The library contains code for destoyable feature.
@ngx-cocktail/destroyable
/
lib
/
destoyable.feature.d.ts
4 lines
(3 loc)
•
227 B
TypeScript
View Raw
1
2
3
4
import
{ ɵ
DirectiveDef
,
Type
}
from
'@angular/core'
;
import
{
Writable
}
from
'@ngx-cocktail/common'
;
export
declare
function
DestroyableFeature
(
): <T
extends
Type
<
unknown
>>
(
directiveDef
:
Writable
<ɵ
DirectiveDef
<T>>
) =>
void
;