@types/react-dnd
Advanced tools
Comparing version 2.0.32 to 2.0.33
@@ -5,3 +5,3 @@ // Type definitions for React DnD v2.0.2 | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.1 | ||
// TypeScript Version: 2.3 | ||
@@ -84,4 +84,4 @@ ///<reference types="react" /> | ||
interface DragSourceSpec<P> { | ||
beginDrag(props: P, monitor?: DragSourceMonitor, component?: React.Component<P, any>): Object; | ||
endDrag?(props: P, monitor?: DragSourceMonitor, component?: React.Component<P, any>): void; | ||
beginDrag(props: P, monitor?: DragSourceMonitor, component?: React.Component<P>): Object; | ||
endDrag?(props: P, monitor?: DragSourceMonitor, component?: React.Component<P>): void; | ||
canDrag?(props: P, monitor?: DragSourceMonitor): boolean; | ||
@@ -131,4 +131,4 @@ isDragging?(props: P, monitor?: DragSourceMonitor): boolean; | ||
interface DropTargetSpec<P> { | ||
drop?(props: P, monitor?: DropTargetMonitor, component?: React.Component<P, any>): Object|void; | ||
hover?(props: P, monitor?: DropTargetMonitor, component?: React.Component<P, any>): void; | ||
drop?(props: P, monitor?: DropTargetMonitor, component?: React.Component<P>): Object|void; | ||
hover?(props: P, monitor?: DropTargetMonitor, component?: React.Component<P>): void; | ||
canDrop?(props: P, monitor?: DropTargetMonitor): boolean; | ||
@@ -135,0 +135,0 @@ } |
{ | ||
"name": "@types/react-dnd", | ||
"version": "2.0.32", | ||
"version": "2.0.33", | ||
"description": "TypeScript definitions for React DnD", | ||
"license": "MIT", | ||
"author": "Asana <https://asana.com>", | ||
"contributors": [ | ||
{ | ||
"name": "Asana", | ||
"url": "https://asana.com" | ||
} | ||
], | ||
"main": "", | ||
@@ -17,4 +22,4 @@ "repository": { | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "aaac66d28fd04265a58bdaca521f3082ffa696d0b9fec4a15cb25e698cceae45", | ||
"typeScriptVersion": "2.1" | ||
"typesPublisherContentHash": "83a16888275ecc0550f9e26e7f8133e4dbc2e93384c9aab8421657dafdc8d2b2", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/react-dnd | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dnd | ||
Additional Details | ||
* Last updated: Mon, 23 Jan 2017 21:31:29 GMT | ||
* Last updated: Fri, 23 Jun 2017 17:35:05 GMT | ||
* Dependencies: react | ||
* Global values: __ReactDnd | ||
* Global values: ___ReactDnd | ||
# Credits | ||
These definitions were written by Asana <https://asana.com>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8670
145