Skip to content

Commit 57f59e6

Browse files
committed
reverse prettier formatting
1 parent cbd8f49 commit 57f59e6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/client/index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class Client<
233233

234234
protected assertCapability(
235235
capability: keyof ServerCapabilities,
236-
method: string
236+
method: string,
237237
): void {
238238
if (!this._serverCapabilities?.[capability]) {
239239
throw new Error(
@@ -373,7 +373,7 @@ export class Client<
373373
}
374374

375375
protected assertNotificationCapability(
376-
method: NotificationT["method"]
376+
method: NotificationT["method"],
377377
): void {
378378
switch (method as ClientNotification["method"]) {
379379
case "notifications/roots/list_changed":
@@ -454,7 +454,7 @@ export class Client<
454454

455455
async getPrompt(
456456
params: GetPromptRequest["params"],
457-
options?: RequestOptions
457+
options?: RequestOptions,
458458
) {
459459
return this.request(
460460
{ method: "prompts/get", params },
@@ -465,7 +465,7 @@ export class Client<
465465

466466
async listPrompts(
467467
params?: ListPromptsRequest["params"],
468-
options?: RequestOptions
468+
options?: RequestOptions,
469469
) {
470470
return this.request(
471471
{ method: "prompts/list", params },
@@ -476,7 +476,7 @@ export class Client<
476476

477477
async listResources(
478478
params?: ListResourcesRequest["params"],
479-
options?: RequestOptions
479+
options?: RequestOptions,
480480
) {
481481
return this.request(
482482
{ method: "resources/list", params },
@@ -487,7 +487,7 @@ export class Client<
487487

488488
async listResourceTemplates(
489489
params?: ListResourceTemplatesRequest["params"],
490-
options?: RequestOptions
490+
options?: RequestOptions,
491491
) {
492492
return this.request(
493493
{ method: "resources/templates/list", params },
@@ -498,7 +498,7 @@ export class Client<
498498

499499
async readResource(
500500
params: ReadResourceRequest["params"],
501-
options?: RequestOptions
501+
options?: RequestOptions,
502502
) {
503503
return this.request(
504504
{ method: "resources/read", params },
@@ -509,7 +509,7 @@ export class Client<
509509

510510
async subscribeResource(
511511
params: SubscribeRequest["params"],
512-
options?: RequestOptions
512+
options?: RequestOptions,
513513
) {
514514
return this.request(
515515
{ method: "resources/subscribe", params },
@@ -520,7 +520,7 @@ export class Client<
520520

521521
async unsubscribeResource(
522522
params: UnsubscribeRequest["params"],
523-
options?: RequestOptions
523+
options?: RequestOptions,
524524
) {
525525
return this.request(
526526
{ method: "resources/unsubscribe", params },

0 commit comments

Comments
 (0)