@types/d3-dispatch
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -11,3 +11,3 @@ // Type definitions for D3JS d3-dispatch module 1.0 | ||
export interface Dispatch<T extends EventTarget> { | ||
export interface Dispatch<T extends object> { | ||
/** | ||
@@ -75,2 +75,2 @@ * Like `function.apply`, invokes each registered callback for the specified type, | ||
*/ | ||
export function dispatch<T extends EventTarget>(...types: string[]): Dispatch<T>; | ||
export function dispatch<T extends object>(...types: string[]): Dispatch<T>; |
{ | ||
"name": "@types/d3-dispatch", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "TypeScript definitions for D3JS d3-dispatch module", | ||
@@ -29,11 +29,12 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/d3-dispatch" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "aadb3bcb1c40bb1b0144d7cbfe54285e636e9c7b851e189fbc30eabd4b7ae84b", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "57da37780ed5df8124123f930a087692445b231807eb21f9b5eb23f6afbf3c74", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -5,9 +5,9 @@ # Installation | ||
# Summary | ||
This package contains type definitions for D3JS d3-dispatch module ( https://github.com/d3/d3-dispatch/ ). | ||
This package contains type definitions for D3JS d3-dispatch module (https://github.com/d3/d3-dispatch/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-dispatch | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-dispatch. | ||
Additional Details | ||
* Last updated: Wed, 13 Feb 2019 17:05:42 GMT | ||
### Additional Details | ||
* Last updated: Tue, 07 Jul 2020 06:51:27 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>, denisname <https://github.com/denisname>. | ||
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), and [denisname](https://github.com/denisname). |
Sorry, the diff of this file is not supported yet
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
6022