File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/examples/src/app/kanban/kanban-list Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { Component , Input , EventEmitter } from "@angular/core" ;
22import { Card } from "../card" ;
33import { DragSource , SkyhookDndService } from "angular-skyhook" ;
4- import { DropEvent } from "angular-skyhook-card-list" ;
4+ import { DropEvent , DraggedItem } from "angular-skyhook-card-list" ;
55import { Output } from "@angular/core" ;
66import { getEmptyImage } from "react-dnd-html5-backend" ;
77import { ItemTypes } from "../item-types" ;
@@ -13,7 +13,7 @@ import { ItemTypes } from "../item-types";
1313} )
1414export class KanbanListComponent {
1515 @Input ( ) list : { id : any , title : string , cards : Card [ ] } ;
16- @Input ( ) source : DragSource ;
16+ @Input ( ) source : DragSource < DraggedItem > ;
1717 @Input ( ) dragging = false ;
1818 @Output ( ) dropCard = new EventEmitter < DropEvent > ( ) ;
1919 @Output ( ) addCard = new EventEmitter < string > ( ) ;
You can’t perform that action at this time.
0 commit comments