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(/\/$/, '');