Skip to content

Commit 4d7027f

Browse files
algolia-botshortcutsthegnuu
committed
fix(javascript): add override to name property (generated)
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]>
1 parent 6a7d453 commit 4d7027f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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);

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"moduleResolution": "node",
1515
"noImplicitAny": true,
1616
"noImplicitThis": true,
17+
"noImplicitOverride": true,
1718
"noLib": false,
1819
"noUnusedLocals": true,
1920
"outDir": "dist",

0 commit comments

Comments
 (0)