@types/component-emitter
Advanced tools
@@ -6,2 +6,3 @@ // Type definitions for component-emitter v1.2.1 | ||
| // TypeScript Version: 2.2 | ||
@@ -12,3 +13,3 @@ interface Emitter { | ||
| off(event?: string, listener?: Function): Emitter; | ||
| emit(event: string, ...args: any[]): boolean; | ||
| emit(event: string, ...args: any[]): Emitter; | ||
| listeners(event: string): Function[]; | ||
@@ -19,6 +20,6 @@ hasListeners(event: string): boolean; | ||
| declare const Emitter: { | ||
| (obj?: any): Emitter; | ||
| new (obj?: any): Emitter; | ||
| (obj?: object): Emitter; | ||
| new (obj?: object): Emitter; | ||
| }; | ||
| export = Emitter; |
| { | ||
| "name": "@types/component-emitter", | ||
| "version": "1.2.7", | ||
| "version": "1.2.8", | ||
| "description": "TypeScript definitions for component-emitter", | ||
@@ -14,10 +14,11 @@ "license": "MIT", | ||
| "main": "", | ||
| "types": "index", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| }, | ||
| "scripts": {}, | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "2179e3a038a9374502b3b9d031eda9e196746d4e4e3cdba430c395c771e29932", | ||
| "typesPublisherContentHash": "29487ebd19df8e951e5d578758aee228531596d52a7c4f7910f26c96a7d3bbfe", | ||
| "typeScriptVersion": "2.0" | ||
| } |
@@ -5,9 +5,9 @@ # Installation | ||
| # Summary | ||
| This package contains type definitions for component-emitter (https://www.npmjs.com/package/component-emitter). | ||
| This package contains type definitions for component-emitter ( https://www.npmjs.com/package/component-emitter ). | ||
| # Details | ||
| Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/component-emitter | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/component-emitter | ||
| Additional Details | ||
| * Last updated: Sat, 14 Apr 2018 19:30:19 GMT | ||
| * Last updated: Tue, 12 Feb 2019 22:44:56 GMT | ||
| * Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
3086
0.92%18
5.88%