Skip to content

Commit

Permalink
fix(javascript): add override to name property (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3785

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
Co-authored-by: Yannik Ache Eicher <[email protected]>
  • Loading branch information
3 people committed Sep 20, 2024
1 parent 6a7d453 commit 4d7027f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client-common/src/transporter/errors.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Response, StackFrame } from '../types';

export class AlgoliaError extends Error {
name: string = 'AlgoliaError';
override name: string = 'AlgoliaError';

constructor(message: string, name: string) {
super(message);
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"moduleResolution": "node",
"noImplicitAny": true,
"noImplicitThis": true,
"noImplicitOverride": true,
"noLib": false,
"noUnusedLocals": true,
"outDir": "dist",
Expand Down

0 comments on commit 4d7027f

Please sign in to comment.