DefinitelyTyped/react-dnd/react-dnd-test-backend.d.ts
Ryan Cavanaugh f55497c988 Merge remote-tracking branch 'upstream/master' into merge_7_25
# Conflicts:
#	convict/convict.d.ts
#	multer/multer.d.ts
#	nodemailer/nodemailer.d.ts
#	react-bootstrap-table/react-bootstrap-table.d.ts
#	react-dnd/react-dnd-tests.ts
#	react-native/index.d.ts
#	request/request.d.ts
#	restify/index.d.ts
#	webpack/webpack.d.ts
#	ws/ws.d.ts
2016-07-27 16:12:49 -07:00

21 lines
715 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
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 };
}