feat: upgrade prettier to v3

This commit is contained in:
Thea Schöbl
2023-12-05 10:36:04 +00:00
parent 991ed1cb1f
commit 31a6ebfd3f
50 changed files with 455 additions and 362 deletions

View File

@@ -95,7 +95,11 @@ export class Client {
*
* TODO: remove headers/version
*/
constructor(protected httpClient: HttpClientInterface, protected url: string, protected version?: string) {
constructor(
protected httpClient: HttpClientInterface,
protected url: string,
protected version?: string,
) {
// cut trailing slash if needed
this.url = this.url.replace(/\/$/, '');

View File

@@ -51,8 +51,8 @@ export type RecursivePartial<T> = {
[P in keyof T]?: T[P] extends Array<infer U>
? Array<RecursivePartial<U>>
: T[P] extends object
? RecursivePartial<T[P]>
: T[P];
? RecursivePartial<T[P]>
: T[P];
};
async function invokeIndexRoute(): Promise<RecursivePartial<HttpClientResponse<SCIndexResponse>>> {