Skip to content

Commit

Permalink
Fix abstract methods in DigestBase
Browse files Browse the repository at this point in the history
  • Loading branch information
harrietwaters committed Jul 5, 2024
1 parent 90f005c commit a3d01c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export abstract class DigestBase {
}

public abstract get(url: string, config?: unknown): Promise<unknown>;
public abstract post<D>(url: string, config?: unknown, data?: D): Promise<unknown>;
public abstract put<D>(url: string, config?: unknown, data?: D): Promise<unknown>;
public abstract post<D>(url: string, data?: D, config?: unknown ): Promise<unknown>;
public abstract put<D>(url: string, data?: D, config?: unknown): Promise<unknown>;
public abstract delete(url: string, config?: unknown): Promise<unknown>;
public abstract head(url: string, config?: unknown): Promise<unknown>;
public abstract request<D>(url: string, config: Record<string, any>, data?: D): Promise<unknown>;
Expand Down

0 comments on commit a3d01c5

Please sign in to comment.