@quilted/events
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -8,2 +8,3 @@ export declare type AbortBehavior = 'throws' | 'returns'; | ||
export declare class AbortError extends Error { | ||
static test(error: unknown): error is AbortError; | ||
readonly code = "ABORT_ERR"; | ||
@@ -10,0 +11,0 @@ readonly name = "AbortError"; |
# @quilted/events | ||
## 0.1.4 | ||
### Patch Changes | ||
- [#338](https://github.com/lemonmade/quilt/pull/338) [`3e2993f5`](https://github.com/lemonmade/quilt/commit/3e2993f598be4aad1b16ef378d7cd449de81c3b5) Thanks [@lemonmade](https://github.com/lemonmade)! - Add full support for from-source export condition | ||
## 0.1.3 | ||
@@ -4,0 +10,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"license": "MIT", | ||
@@ -22,2 +22,3 @@ "engines": { | ||
".": { | ||
"quilt:from-source": "./source/index.ts", | ||
"quilt:esnext": "./build/esnext/index.esnext", | ||
@@ -24,0 +25,0 @@ "import": "./build/esm/index.mjs", |
@@ -21,2 +21,6 @@ export type AbortBehavior = 'throws' | 'returns'; | ||
export class AbortError extends Error { | ||
static test(error: unknown): error is AbortError { | ||
return error != null && (error as any).code === 'ABORT_ERR'; | ||
} | ||
readonly code = 'ABORT_ERR'; | ||
@@ -23,0 +27,0 @@ readonly name = 'AbortError'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
76836
1051