@types/createjs-lib
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -18,3 +18,2 @@ // Type definitions for CreateJS | ||
declare namespace createjs { | ||
@@ -72,4 +71,12 @@ export class Event { | ||
addEventListener(type: string, listener: (eventObj: Object) => void, useCapture?: boolean): Function; | ||
addEventListener(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, useCapture?: boolean): Object; | ||
addEventListener(type: string, listener: { handleEvent: (eventObj: Object) => void; }, useCapture?: boolean): Object; | ||
addEventListener( | ||
type: string, | ||
listener: { handleEvent: (eventObj: Object) => boolean }, | ||
useCapture?: boolean, | ||
): Object; | ||
addEventListener( | ||
type: string, | ||
listener: { handleEvent: (eventObj: Object) => void }, | ||
useCapture?: boolean, | ||
): Object; | ||
dispatchEvent(eventObj: Object, target?: Object): boolean; | ||
@@ -82,14 +89,50 @@ dispatchEvent(eventObj: string, target?: Object): boolean; | ||
off(type: string, listener: (eventObj: Object) => void, useCapture?: boolean): void; | ||
off(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, useCapture?: boolean): void; | ||
off(type: string, listener: { handleEvent: (eventObj: Object) => void; }, useCapture?: boolean): void; | ||
off(type: string, listener: { handleEvent: (eventObj: Object) => boolean }, useCapture?: boolean): void; | ||
off(type: string, listener: { handleEvent: (eventObj: Object) => void }, useCapture?: boolean): void; | ||
off(type: string, listener: Function, useCapture?: boolean): void; // It is necessary for "arguments.callee" | ||
on(type: string, listener: (eventObj: Object) => boolean, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Function; | ||
on(type: string, listener: (eventObj: Object) => void, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Function; | ||
on(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Object; | ||
on(type: string, listener: { handleEvent: (eventObj: Object) => void; }, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Object; | ||
on( | ||
type: string, | ||
listener: (eventObj: Object) => boolean, | ||
scope?: Object, | ||
once?: boolean, | ||
data?: any, | ||
useCapture?: boolean, | ||
): Function; | ||
on( | ||
type: string, | ||
listener: (eventObj: Object) => void, | ||
scope?: Object, | ||
once?: boolean, | ||
data?: any, | ||
useCapture?: boolean, | ||
): Function; | ||
on( | ||
type: string, | ||
listener: { handleEvent: (eventObj: Object) => boolean }, | ||
scope?: Object, | ||
once?: boolean, | ||
data?: any, | ||
useCapture?: boolean, | ||
): Object; | ||
on( | ||
type: string, | ||
listener: { handleEvent: (eventObj: Object) => void }, | ||
scope?: Object, | ||
once?: boolean, | ||
data?: any, | ||
useCapture?: boolean, | ||
): Object; | ||
removeAllEventListeners(type?: string): void; | ||
removeEventListener(type: string, listener: (eventObj: Object) => boolean, useCapture?: boolean): void; | ||
removeEventListener(type: string, listener: (eventObj: Object) => void, useCapture?: boolean): void; | ||
removeEventListener(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, useCapture?: boolean): void; | ||
removeEventListener(type: string, listener: { handleEvent: (eventObj: Object) => void; }, useCapture?: boolean): void; | ||
removeEventListener( | ||
type: string, | ||
listener: { handleEvent: (eventObj: Object) => boolean }, | ||
useCapture?: boolean, | ||
): void; | ||
removeEventListener( | ||
type: string, | ||
listener: { handleEvent: (eventObj: Object) => void }, | ||
useCapture?: boolean, | ||
): void; | ||
removeEventListener(type: string, listener: Function, useCapture?: boolean): void; // It is necessary for "arguments.callee" | ||
@@ -100,10 +143,22 @@ toString(): string; | ||
export function extend(subclass: () => any, superclass: () => any): () => any; // returns the subclass prototype | ||
export function extend(subclass: () => any, superclass: () => any): () => any; // returns the subclass prototype | ||
export function indexOf(array: any[], searchElement: Object): number; | ||
export function promote(subclass: () => any, prefix: string): () => any; | ||
export function proxy(method: (eventObj: Object) => boolean, scope: Object, ...arg: any[]): (eventObj: Object) => any; | ||
export function proxy( | ||
method: (eventObj: Object) => boolean, | ||
scope: Object, | ||
...arg: any[] | ||
): (eventObj: Object) => any; | ||
export function proxy(method: (eventObj: Object) => void, scope: Object, ...arg: any[]): (eventObj: Object) => any; | ||
export function proxy(method: { handleEvent: (eventObj: Object) => boolean; }, scope: Object, ...arg: any[]): (eventObj: Object) => any; | ||
export function proxy(method: { handleEvent: (eventObj: Object) => void; }, scope: Object, ...arg: any[]): (eventObj: Object) => any; | ||
export function proxy( | ||
method: { handleEvent: (eventObj: Object) => boolean }, | ||
scope: Object, | ||
...arg: any[] | ||
): (eventObj: Object) => any; | ||
export function proxy( | ||
method: { handleEvent: (eventObj: Object) => void }, | ||
scope: Object, | ||
...arg: any[] | ||
): (eventObj: Object) => any; | ||
} |
{ | ||
"name": "@types/createjs-lib", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "TypeScript definitions for CreateJS", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/createjs-lib", | ||
"license": "MIT", | ||
"author": "Pedro Ferreira <https://bitbucket.org/drk4>, Chris Smith <https://github.com/evilangelist>, Satoru Kimura <https://github.com/gyohk>", | ||
"contributors": [ | ||
{ | ||
"name": "Pedro Ferreira", | ||
"url": "https://bitbucket.org/drk4" | ||
}, | ||
{ | ||
"name": "Chris Smith", | ||
"url": "https://github.com/evilangelist", | ||
"githubUsername": "evilangelist" | ||
}, | ||
{ | ||
"name": "Satoru Kimura", | ||
"url": "https://github.com/gyohk", | ||
"githubUsername": "gyohk" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/createjs-lib" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "06f421b93c07f8d853d93b761c07be49dcb518fcd9f144e7a157932cc01feda2" | ||
"typesPublisherContentHash": "aedc7ed83c53adcf90d239acc2ede1b8b501d242fdc5d34ba983be70d41f54cf", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -8,12 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/createjs-lib | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/createjs-lib. | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 16:15:24 GMT | ||
* File structure: Global | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Global values: createjs | ||
### Additional Details | ||
* Last updated: Mon, 04 Sep 2023 15:41:21 GMT | ||
* Dependencies: none | ||
* Global values: `createjs` | ||
# Credits | ||
These definitions were written by Pedro Ferreira <https://bitbucket.org/drk4>, Chris Smith <https://github.com/evilangelist>, Satoru Kimura <https://github.com/gyohk>. | ||
These definitions were written by [Pedro Ferreira](https://bitbucket.org/drk4), [Chris Smith](https://github.com/evilangelist), and [Satoru Kimura](https://github.com/gyohk). |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
9927
153
1
0
17