Enable noImplicitOverride TypeScript compiler option

This commit is contained in:
Evan Hahn
2021-11-12 17:44:20 -06:00
committed by GitHub
parent 4490d9f2d0
commit ede34ecee3
51 changed files with 339 additions and 194 deletions

View File

@@ -18,7 +18,7 @@ export type HTTPErrorHeadersType = {
};
export class HTTPError extends Error {
public readonly name = 'HTTPError';
public override readonly name = 'HTTPError';
public readonly code: number;
@@ -48,10 +48,6 @@ export class HTTPError extends Error {
}
export class ReplayableError extends Error {
name: string;
message: string;
functionCode?: number;
constructor(options: {