mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
620 B
TypeScript
16 lines
620 B
TypeScript
// Type definitions for react-dnd-test-backend 2.5
|
|
// Project: https://github.com/react-dnd/react-dnd#readme
|
|
// Definitions by: Gustavo Henke <https://github.com/gustavohenke>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.6
|
|
|
|
import * as ReactDnd from "react-dnd";
|
|
|
|
export default class TestBackend implements ReactDnd.Backend {
|
|
simulateBeginDrag(sourceIds: ReactDnd.Identifier[], options?: {}): void;
|
|
simulatePublishDragSource(): void;
|
|
simulateHover(targetIds: ReactDnd.Identifier[], options?: {}): void;
|
|
simulateDrop(): void;
|
|
simulateEndDrag(): void;
|
|
}
|