@types/d3-drag
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -12,3 +12,3 @@ // Type definitions for D3JS d3-drag module 2.0 | ||
import { Selection, ValueFn } from 'd3-selection'; | ||
import { Selection, ValueFn } from "d3-selection"; | ||
@@ -261,3 +261,7 @@ // -------------------------------------------------------------------------- | ||
*/ | ||
export function drag<GElement extends DraggedElementBaseType, Datum>(): DragBehavior<GElement, Datum, Datum | SubjectPosition>; | ||
export function drag<GElement extends DraggedElementBaseType, Datum>(): DragBehavior< | ||
GElement, | ||
Datum, | ||
Datum | SubjectPosition | ||
>; | ||
/** | ||
@@ -290,3 +294,3 @@ * Creates a new drag behavior. The returned behavior, drag, is both an object and a function, and is | ||
*/ | ||
type: 'start' | 'drag' | 'end' | string; // Leave failsafe string type for cases like 'drag.foo' | ||
type: "start" | "drag" | "end" | string; // Leave failsafe string type for cases like 'drag.foo' | ||
/** | ||
@@ -315,3 +319,3 @@ * The drag subject, defined by drag.subject. | ||
*/ | ||
identifier: 'mouse' | number; | ||
identifier: "mouse" | number; | ||
/** | ||
@@ -318,0 +322,0 @@ * The number of currently active drag gestures (on start and end, not including this one). |
{ | ||
"name": "@types/d3-drag", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "TypeScript definitions for D3JS d3-drag module", | ||
@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-drag", | ||
}, | ||
"typesPublisherContentHash": "9ce95d49a424afc086494d9edaafa7aa306486a57be4fd7a2e8feafb7addd041", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "0dd867df49ffaea1b9cc284f4399611943d13c8aa3f32cbaebc78099771c6746", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 26 Jun 2021 11:31:27 GMT | ||
* Last updated: Fri, 22 Sep 2023 20:29:40 GMT | ||
* Dependencies: [@types/d3-selection](https://npmjs.com/package/@types/d3-selection) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
26141
385