From c578015b636b8a46017b457150ab03834c4e7f0f Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sun, 23 Jun 2024 00:45:03 +0900 Subject: [PATCH] fix indent --- packages/misskey-js/generator/src/generator.ts | 4 ++-- packages/misskey-js/src/autogen/apiClientJSDoc.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/misskey-js/generator/src/generator.ts b/packages/misskey-js/generator/src/generator.ts index 93a731ad34..03d17a6c45 100644 --- a/packages/misskey-js/generator/src/generator.ts +++ b/packages/misskey-js/generator/src/generator.ts @@ -286,9 +286,9 @@ async function generateApiClientJSDoc( endpointOutputLine.push( 'interface IErrPromise {', - ' then(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike) | undefined | null): Promise;', + ' then(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike) | undefined | null): Promise;', '', - ' catch(onrejected?: ((reason: TError) => TResult | PromiseLike) | undefined | null): Promise;', + ' catch(onrejected?: ((reason: TError) => TResult | PromiseLike) | undefined | null): Promise;', '}', ); endpointOutputLine.push(''); diff --git a/packages/misskey-js/src/autogen/apiClientJSDoc.ts b/packages/misskey-js/src/autogen/apiClientJSDoc.ts index 6b4f5c569e..a6bc2383d3 100644 --- a/packages/misskey-js/src/autogen/apiClientJSDoc.ts +++ b/packages/misskey-js/src/autogen/apiClientJSDoc.ts @@ -2,9 +2,9 @@ import type { SwitchCaseResponseType } from '../api.js'; import type { Endpoints } from './endpoint.js'; interface IErrPromise { - then(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike) | undefined | null): Promise; - catch(onrejected?: ((reason: TError) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: TError) => TResult | PromiseLike) | undefined | null): Promise; } declare module '../api.js' {