Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
copy(event: KeyboardEvent) {
const prop = this.property;
if (prop) {
copy(event, prop, this.dragAndDrop);
}
}
copy(event: KeyboardEvent, item: IDraggableViewModel) {
copy(event, item, this.dragAndDrop);
}
copy(event: KeyboardEvent) {
const obj = this.object;
if (obj) {
copy(event, obj, this.dragAndDrop);
}
}