mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Removes refernces to the test backend from the html5 backend tests - the two backends are distinct so it doesn't make sense to test one inside the other
23 lines
757 B
TypeScript
23 lines
757 B
TypeScript
// Type definitions for React DnD HTML 5 Backend v2.0.0
|
|
// Project: https://github.com/gaearon/react-dnd
|
|
// Definitions by: Asana <https://asana.com>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
///<reference path='./react-dnd.d.ts' />
|
|
|
|
declare module "react-dnd-test-backend" {
|
|
class TestBackend {
|
|
setup(): void;
|
|
teardown(): void;
|
|
connectDragSource(): void;
|
|
connectDropTarget(): void;
|
|
simulateBeginDrag(sourceIds: __ReactDnd.Identifier[], options?: {}): void;
|
|
simulatePublishDragSource(): void;
|
|
simulateHover(targetIds: __ReactDnd.Identifier[], options?: {}): void;
|
|
simulateDrop(): void;
|
|
simulateEndDrag(): void;
|
|
}
|
|
|
|
export { TestBackend as default };
|
|
}
|