Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/createjs-lib

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/createjs-lib - npm Package Compare versions

Comparing version 0.0.29 to 0.0.30

createjs-lib/LICENSE

85

createjs-lib/index.d.ts

@@ -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"
}

14

createjs-lib/README.md

@@ -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).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc