@types/error-cause
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,4 +0,3 @@ | ||
type BaseError = Error; | ||
type BaseErrorConstructor = ErrorConstructor; | ||
declare const BaseError: ErrorConstructor; | ||
export { BaseError, BaseErrorConstructor }; | ||
export default BaseError; |
@@ -1,4 +0,3 @@ | ||
type BaseEvalError = EvalError; | ||
type BaseEvalErrorConstructor = EvalErrorConstructor; | ||
declare const BaseEvalError: EvalErrorConstructor; | ||
export { BaseEvalError, BaseEvalErrorConstructor }; | ||
export default BaseEvalError; |
@@ -1,4 +0,3 @@ | ||
type BaseRangeError = RangeError; | ||
type BaseRangeErrorConstructor = RangeErrorConstructor; | ||
declare const BaseRangeError: RangeErrorConstructor; | ||
export { BaseRangeError, BaseRangeErrorConstructor }; | ||
export default BaseRangeError; |
@@ -1,4 +0,3 @@ | ||
type BaseReferenceError = ReferenceError; | ||
type BaseReferenceErrorConstructor = ReferenceErrorConstructor; | ||
declare const BaseReferenceError: ReferenceErrorConstructor; | ||
export { BaseReferenceError, BaseReferenceErrorConstructor }; | ||
export default BaseReferenceError; |
@@ -1,4 +0,3 @@ | ||
type BaseSyntaxError = SyntaxError; | ||
type BaseSyntaxErrorConstructor = SyntaxErrorConstructor; | ||
declare const BaseSyntaxError: SyntaxErrorConstructor; | ||
export { BaseSyntaxError, BaseSyntaxErrorConstructor }; | ||
export default BaseSyntaxError; |
@@ -1,4 +0,3 @@ | ||
type BaseTypeError = TypeError; | ||
type BaseTypeErrorConstructor = TypeErrorConstructor; | ||
declare const BaseTypeError: TypeErrorConstructor; | ||
export { BaseTypeError, BaseTypeErrorConstructor }; | ||
export default BaseTypeError; |
@@ -1,4 +0,3 @@ | ||
type BaseURIError = URIError; | ||
type BaseURIErrorConstructor = URIErrorConstructor; | ||
declare const BaseURIError: URIErrorConstructor; | ||
export { BaseURIError, BaseURIErrorConstructor }; | ||
export default BaseURIError; |
@@ -1,11 +0,9 @@ | ||
import { BaseError, BaseErrorConstructor } from './base/Error'; | ||
import BaseError from './base/Error'; | ||
interface Error extends BaseError { | ||
declare class Error extends BaseError { | ||
constructor(reason?: string, options?: { cause?: unknown }); | ||
cause: unknown; | ||
} | ||
interface ErrorConstructor extends BaseErrorConstructor { | ||
new (reason: string, options?: { cause?: unknown }): Error; | ||
} | ||
export default ErrorConstructor; | ||
export default Error; |
@@ -1,11 +0,9 @@ | ||
import { BaseEvalError, BaseEvalErrorConstructor } from './base/EvalError'; | ||
import BaseEvalError from './base/EvalError'; | ||
interface EvalError extends BaseEvalError { | ||
declare class EvalError extends BaseEvalError { | ||
constructor(reason?: string, options?: { cause?: unknown }); | ||
cause: unknown; | ||
} | ||
interface EvalErrorConstructor extends BaseEvalErrorConstructor { | ||
new (reason: string, options?: { cause?: unknown }): EvalError; | ||
} | ||
export default EvalErrorConstructor; | ||
export default EvalError; |
{ | ||
"name": "@types/error-cause", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for error-cause", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/error-cause", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ac8fcb85ced604f0f9a6624d1557c626a1bcbc85a52ef7426fb42729f63bdf96", | ||
"typesPublisherContentHash": "5f1f1cc7a4361d8784cc869e87957fa21cc24c9d2b8a6c0550be737b1c91af56", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -1,11 +0,9 @@ | ||
import { BaseRangeError, BaseRangeErrorConstructor } from './base/RangeError'; | ||
import BaseRangeError from './base/RangeError'; | ||
interface RangeError extends BaseRangeError { | ||
declare class RangeError extends BaseRangeError { | ||
constructor(reason?: string, options?: { cause?: unknown }); | ||
cause: unknown; | ||
} | ||
interface RangeErrorConstructor extends BaseRangeErrorConstructor { | ||
new (reason: string, options?: { cause?: unknown }): RangeError; | ||
} | ||
export default RangeErrorConstructor; | ||
export default RangeError; |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 30 Sep 2021 22:01:21 GMT | ||
* Last updated: Sat, 02 Oct 2021 16:01:19 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
@@ -1,11 +0,9 @@ | ||
import { BaseReferenceError, BaseReferenceErrorConstructor } from './base/ReferenceError'; | ||
import BaseReferenceError from './base/ReferenceError'; | ||
interface ReferenceError extends BaseReferenceError { | ||
declare class ReferenceError extends BaseReferenceError { | ||
constructor(reason?: string, options?: { cause?: unknown }); | ||
cause: unknown; | ||
} | ||
interface ReferenceErrorConstructor extends BaseReferenceErrorConstructor { | ||
new (reason: string, options?: { cause?: unknown }): ReferenceError; | ||
} | ||
export default ReferenceErrorConstructor; | ||
export default ReferenceError; |
@@ -1,11 +0,9 @@ | ||
import { BaseSyntaxError, BaseSyntaxErrorConstructor } from './base/SyntaxError'; | ||
import BaseSyntaxError from './base/SyntaxError'; | ||
interface SyntaxError extends BaseSyntaxError { | ||
declare class SyntaxError extends BaseSyntaxError { | ||
constructor(reason?: string, options?: { cause?: unknown }); | ||
cause: unknown; | ||
} | ||
interface SyntaxErrorConstructor extends BaseSyntaxErrorConstructor { | ||
new (reason: string, options?: { cause?: unknown }): SyntaxError; | ||
} | ||
export default SyntaxErrorConstructor; | ||
export default SyntaxError; |
@@ -1,11 +0,9 @@ | ||
import { BaseTypeError, BaseTypeErrorConstructor } from './base/TypeError'; | ||
import BaseTypeError from './base/TypeError'; | ||
interface TypeError extends BaseTypeError { | ||
declare class TypeError extends BaseTypeError { | ||
constructor(reason?: string, options?: { cause?: unknown }); | ||
cause: unknown; | ||
} | ||
interface TypeErrorConstructor extends BaseTypeErrorConstructor { | ||
new (reason: string, options?: { cause?: unknown }): TypeError; | ||
} | ||
export default TypeErrorConstructor; | ||
export default TypeError; |
@@ -1,11 +0,9 @@ | ||
import { BaseURIError, BaseURIErrorConstructor } from './base/URIError'; | ||
import BaseURIError from './base/URIError'; | ||
interface URIError extends BaseURIError { | ||
declare class URIError extends BaseURIError { | ||
constructor(reason?: string, options?: { cause?: unknown }); | ||
cause: unknown; | ||
} | ||
interface URIErrorConstructor extends BaseURIErrorConstructor { | ||
new (reason: string, options?: { cause?: unknown }): URIError; | ||
} | ||
export default URIErrorConstructor; | ||
export default URIError; |
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
5314
77