DefinitelyTyped/react-dnd/react-dnd-test-backend.d.ts
David Inglis 51f709d4df Fixes bad indentation issue
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
2016-07-25 16:42:36 -07:00

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 };
}