1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-03 16:44:12 +02:00

fix type definition

This commit is contained in:
Robin Appelman 2017-03-07 18:35:04 +01:00
commit 498065a4c9

View file

@ -2,5 +2,5 @@ import {Packet} from "../../Data/Packet";
import {BitStream} from 'bit-buffer';
import {Match} from "../../Data/Match";
export type Parser = (stream: BitStream, match?: Match, skip: boolean = false) => Packet;
export type Parser = (stream: BitStream, match?: Match, skip?: boolean) => Packet;
export type PacketParserMap = {[id: number]: Parser};