mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
576 B
TypeScript
15 lines
576 B
TypeScript
// Type definitions for React DnD Html5 Backend v2.1.2
|
|
// Project: https://github.com/gaearon/react-dnd
|
|
// Definitions by: Pedro Pereira <https://github.com/oizie>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
///<reference path='../react/react.d.ts' />
|
|
///<reference path='../react-dnd/react-dnd.d.ts' />
|
|
|
|
declare module "react-dnd-html5-backend" {
|
|
import ReactDnd = __ReactDnd;
|
|
|
|
export enum NativeTypes { FILE, URL, TEXT }
|
|
export function getEmptyImage(): any; // Image
|
|
export default class HTML5Backend implements __ReactDnd.Backend {}
|
|
} |