Skip to content

Commit c146f3b

Browse files
thegnuushortcuts
authored andcommitted
fix(error-transporter): add override to name property
1 parent e47df65 commit c146f3b

File tree

1 file changed

+1
-1
lines changed
  • clients/algoliasearch-client-javascript/packages/client-common/src/transporter

1 file changed

+1
-1
lines changed

clients/algoliasearch-client-javascript/packages/client-common/src/transporter/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Response, StackFrame } from '../types';
22

33
export class AlgoliaError extends Error {
4-
name: string = 'AlgoliaError';
4+
override name: string = 'AlgoliaError';
55

66
constructor(message: string, name: string) {
77
super(message);

0 commit comments

Comments
 (0)