resolve #17
This commit is contained in:
@@ -4,7 +4,7 @@ import * as Misskey from '../src';
|
||||
describe('Streaming', () => {
|
||||
test('emit type', async () => {
|
||||
const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
|
||||
const mainChannel = stream.useSharedConnection('main');
|
||||
const mainChannel = stream.useChannel('main');
|
||||
mainChannel.on('notification', notification => {
|
||||
expectType<Misskey.entities.Notification>(notification);
|
||||
});
|
||||
|
Reference in New Issue
Block a user