Skip to content

Commit 94329e7

Browse files
committed
fix: type
1 parent b6f004d commit 94329e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/wrapped-keys-lit-actions/src/lib/abortError.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export class AbortError extends Error {
2-
name = 'AbortError';
2+
override name = 'AbortError';
33
}
44

5-
export const rethrowIfAbortError = (err) => {
5+
export const rethrowIfAbortError = (err: any) => {
66
if (err instanceof AbortError) {
77
throw err;
88
}

0 commit comments

Comments
 (0)