@types/es-aggregate-error
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -8,9 +8,6 @@ /// <reference types="node" /> | ||
// any here, to match Node's own typings | ||
// Using `any` here, to match Node's own typings: | ||
constructor(errors: ReadonlyArray<any>, message?: string); | ||
static shim(): void; | ||
} | ||
export = AggregateError; |
@@ -10,15 +10,8 @@ // Type definitions for es-aggregate-error 1.0 | ||
type ExportedImplementationType = typeof implementation & { | ||
getPolyfill: typeof getPolyfill; | ||
implementation: typeof implementation; | ||
shim: typeof shim; | ||
}; | ||
declare class AggregateError extends implementation { | ||
static getPolyfill: typeof getPolyfill; | ||
static implementation: typeof implementation; | ||
static shim: typeof shim; | ||
} | ||
declare const exportedImplementation: ExportedImplementationType; | ||
export = exportedImplementation; | ||
// This seems to be the only way to export these types here without colliding with the "export =" syntax. | ||
declare namespace exportedImplementation { | ||
type AggregateError = implementation; | ||
} | ||
export = AggregateError; |
{ | ||
"name": "@types/es-aggregate-error", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "TypeScript definitions for es-aggregate-error", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/es-aggregate-error", | ||
}, | ||
"typesPublisherContentHash": "41a684042ee0cab3e5b6143c62c71443afbcfc668d668c6854595a19c09cae88", | ||
"typesPublisherContentHash": "d848f42b2b49f13e84c30f9584b95ea79bafe297c4dc39bae4e28b06af590c71", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 31 May 2021 19:01:24 GMT | ||
* Last updated: Sun, 20 Jun 2021 19:31:09 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -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
4010
32