Skip to content

Commit

Permalink
fix(typescript): missing override directives
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Oct 17, 2024
1 parent 38dac13 commit dff0e78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class BaseAPIRequestFactory {
* @extends {Error}
*/
export class RequiredError extends Error {
name: "RequiredError" = "RequiredError";
{{#deno}}override {{/deno}}name: "RequiredError" = "RequiredError";
constructor(public api: string, public method: string, public field: string) {
super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + ".");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ export function wrapHttpLibrary(promiseHttpLibrary: PromiseHttpLibrary): HttpLib

export class HttpInfo<T> extends ResponseContext {
public constructor(
public httpStatusCode: number,
public headers: Headers,
public body: ResponseBody,
httpStatusCode: number,
headers: Headers,
body: ResponseBody,
public data: T,
) {
super(httpStatusCode, headers, body);
Expand Down

0 comments on commit dff0e78

Please sign in to comment.