We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6f004d commit 94329e7Copy full SHA for 94329e7
packages/wrapped-keys-lit-actions/src/lib/abortError.ts
@@ -1,8 +1,8 @@
1
export class AbortError extends Error {
2
- name = 'AbortError';
+ override name = 'AbortError';
3
}
4
5
-export const rethrowIfAbortError = (err) => {
+export const rethrowIfAbortError = (err: any) => {
6
if (err instanceof AbortError) {
7
throw err;
8
0 commit comments