brilliant-errors
Advanced tools
Comparing version 0.5.2 to 0.5.3
import { CallSite } from 'callsites'; | ||
import { TypeSubtype } from 'common-types'; | ||
export { TypeSubtype } from 'common-types'; | ||
import { TypeGuard } from 'inferred-types'; | ||
export { TypeGuard } from 'inferred-types'; | ||
import { TypeGuard as TypeGuard$1 } from 'inferred-types'; | ||
@@ -129,3 +128,3 @@ declare abstract class BaseBrilliance< | ||
ConstructorFor<N, A, T, S, H, C>, | ||
TypeGuard<IBrilliantError<N, A, T, S, H, C>>, | ||
TypeGuard$1<IBrilliantError<N, A, T, S, H, C>>, | ||
BrillianErrorTypeGuard | ||
@@ -164,2 +163,4 @@ ]; | ||
declare type TypeGuard<T> = TypeGuard$1<T>; | ||
declare function isBrilliantError(error: unknown): error is IBrilliantError<any, any, any, any, any, any>; | ||
@@ -175,2 +176,2 @@ declare type BrillianErrorTypeGuard = typeof isBrilliantError; | ||
export { BaseBrilliance, BrillianErrorTypeGuard, BrilliantErrorTuple, Constructor, ConstructorFor, ErrorConstructorType, ErrorHttpCodes, ErrorOptions, ErrorSubTypes, ErrorTypes, IBrilliantError, IConstructorProps, IErrorConfigOptions, IErrorRuntimeOptions, IfNotThen, IfUndefined, NetworkConstructor, StandardConstructor, WrapperConstructor, createError, isBrilliantError, prettyStack }; | ||
export { BaseBrilliance, BrillianErrorTypeGuard, BrilliantErrorTuple, Constructor, ConstructorFor, ErrorConstructorType, ErrorHttpCodes, ErrorOptions, ErrorSubTypes, ErrorTypes, IBrilliantError, IConstructorProps, IErrorConfigOptions, IErrorRuntimeOptions, IfNotThen, IfUndefined, NetworkConstructor, StandardConstructor, TypeGuard, WrapperConstructor, createError, isBrilliantError, prettyStack }; |
@@ -33,3 +33,2 @@ var __create = Object.create; | ||
BaseBrilliance: () => BaseBrilliance, | ||
TypeGuard: () => import_inferred_types.TypeGuard, | ||
TypeSubtype: () => import_common_types.TypeSubtype, | ||
@@ -55,3 +54,2 @@ createError: () => createError, | ||
// src/@types/proxies.ts | ||
var import_inferred_types = require("inferred-types"); | ||
var import_common_types = require("common-types"); | ||
@@ -163,3 +161,2 @@ | ||
BaseBrilliance, | ||
TypeGuard, | ||
TypeSubtype, | ||
@@ -166,0 +163,0 @@ createError, |
{ | ||
"name": "brilliant-errors", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "A set of configurators to help your Apps and Libraries build brilliant error classes", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
"common-types": "^1.31.0", | ||
"dd": "^0.16.1", | ||
"dd": "^0.16.2", | ||
"eslint": "^8.5.0", | ||
@@ -72,3 +72,3 @@ "eslint-config-prettier": "^8.3.0", | ||
"callsites": "^3.1.0", | ||
"common-types": "^1.31.0", | ||
"common-types": "^1.29.0", | ||
"inferred-types": "^0.18.0" | ||
@@ -75,0 +75,0 @@ }, |
Sorry, the diff of this file is not supported yet
24119
424