1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-03 16:44:12 +02:00
This commit is contained in:
Robin Appelman 2017-03-17 22:53:14 +01:00
commit 52333f01e3

View file

@ -8,7 +8,7 @@ export class StreamParser extends Parser {
header: any;
sourceStream: Stream;
constructor(stream) {
constructor(stream: Stream) {
super(new BitStream(new ArrayBuffer(0)));
this.sourceStream = stream;
this.on('packet', this.match.handlePacket.bind(this.match));