misskey-js側にinterfaceを置いて型エラーを解消

This commit is contained in:
kakkokari-gtyih
2024-06-24 18:26:03 +09:00
parent 584e80dedd
commit 313ebcde43
4 changed files with 47 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
import { type Endpoints } from './api.types.js';
import Stream, { Connection } from './streaming.js';
import { type StreamEvents } from './streaming.js';
import type { StreamEvents, IStream, IChannelConnection } from './streaming.js';
import { type Channels } from './streaming.types.js';
import { type Acct } from './acct.js';
import * as consts from './consts.js';
@@ -10,6 +10,8 @@ export type {
Channels,
Acct,
StreamEvents,
IStream,
IChannelConnection,
};
export {