Skip to content

Commit

Permalink
feat: sortablejsCloneFunction restricts type may cause compile failed…
Browse files Browse the repository at this point in the history
… when using ivy
  • Loading branch information
CodingCloud9527 authored and CodingCloud9527 committed Dec 25, 2020
1 parent 07e604a commit a9dbb81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-sortablejs/src/lib/sortablejs.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class SortablejsDirective implements OnInit, OnChanges, OnDestroy {
sortablejsOptions: Options;

@Input()
sortablejsCloneFunction: <T>(item: T) => T;
sortablejsCloneFunction: (item: any) => any;

private sortableInstance: any;

Expand Down

0 comments on commit a9dbb81

Please sign in to comment.