Skip to content

Commit 4adcadb

Browse files
committed
forgot one DragSource -> DragSource<Item> file
1 parent 5b885e6 commit 4adcadb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/examples/src/app/kanban/kanban-list/kanban-list.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component, Input, EventEmitter } from "@angular/core";
22
import { Card } from "../card";
33
import { DragSource, SkyhookDndService } from "angular-skyhook";
4-
import { DropEvent } from "angular-skyhook-card-list";
4+
import { DropEvent, DraggedItem } from "angular-skyhook-card-list";
55
import { Output } from "@angular/core";
66
import { getEmptyImage } from "react-dnd-html5-backend";
77
import { ItemTypes } from "../item-types";
@@ -13,7 +13,7 @@ import { ItemTypes } from "../item-types";
1313
})
1414
export 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>();

0 commit comments

Comments
 (0)