mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
# 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
21 lines
715 B
TypeScript
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 };
|
|
}
|