From 7152eca0a0b99d968770525898bf17c871f147ce Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 20 Aug 2024 14:25:59 +0900 Subject: [PATCH] lint --- packages/misskey-js/src/index.ts | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/packages/misskey-js/src/index.ts b/packages/misskey-js/src/index.ts index 0f8ac68b3b..cf267f3281 100644 --- a/packages/misskey-js/src/index.ts +++ b/packages/misskey-js/src/index.ts @@ -1,19 +1,6 @@ -import { type Endpoints } from './api.types.js'; import Stream, { Connection } from './streaming.js'; -import { type Channels } from './streaming.types.js'; -import { type Acct } from './acct.js'; -import type { StreamEvents, IStream, IChannelConnection } from './streaming.js'; import * as consts from './consts.js'; -export type { - Endpoints, - Channels, - Acct, - StreamEvents, - IStream, - IChannelConnection, -}; - export { Stream, Connection as ChannelConnection, @@ -36,3 +23,19 @@ import * as entities from './entities.js'; import * as acct from './acct.js'; import * as note from './note.js'; export { api, entities, acct, note }; + +//#region standalone types +import type { Endpoints } from './api.types.js'; +import type { StreamEvents, IStream, IChannelConnection } from './streaming.js'; +import type { Channels } from './streaming.types.js'; +import type { Acct } from './acct.js'; + +export type { + Endpoints, + Channels, + Acct, + StreamEvents, + IStream, + IChannelConnection, +}; +//#endregion