Skip to content

Commit a9dbb81

Browse files
CodingCloud9527CodingCloud9527
CodingCloud9527
authored and
CodingCloud9527
committed
feat: sortablejsCloneFunction restricts type may cause compile failed when using ivy
1 parent 07e604a commit a9dbb81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: projects/ngx-sortablejs/src/lib/sortablejs.directive.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class SortablejsDirective implements OnInit, OnChanges, OnDestroy {
4949
sortablejsOptions: Options;
5050

5151
@Input()
52-
sortablejsCloneFunction: <T>(item: T) => T;
52+
sortablejsCloneFunction: (item: any) => any;
5353

5454
private sortableInstance: any;
5555

0 commit comments

Comments
 (0)