Resolve #38
This commit is contained in:
+4
-1
@@ -1,11 +1,14 @@
|
||||
import { Endpoints } from './api.types';
|
||||
import Stream from './streaming';
|
||||
import Stream, { Connection } from './streaming';
|
||||
import { Channels } from './streaming.types';
|
||||
import { Acct } from './acct';
|
||||
import * as consts from './consts';
|
||||
|
||||
export {
|
||||
Endpoints,
|
||||
Stream,
|
||||
Connection as ChannelConnection,
|
||||
Channels,
|
||||
Acct,
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -256,7 +256,7 @@ class Pool {
|
||||
}
|
||||
}
|
||||
|
||||
abstract class Connection<Channel extends AnyOf<Channels> = any> extends EventEmitter<Channel['events']> {
|
||||
export abstract class Connection<Channel extends AnyOf<Channels> = any> extends EventEmitter<Channel['events']> {
|
||||
public channel: string;
|
||||
protected stream: Stream;
|
||||
public abstract id: string;
|
||||
|
||||
Reference in New Issue
Block a user