mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 00:54:14 +02:00
fix type definition
This commit is contained in:
parent
b5a9ce785e
commit
498065a4c9
1 changed files with 1 additions and 1 deletions
|
|
@ -2,5 +2,5 @@ import {Packet} from "../../Data/Packet";
|
||||||
import {BitStream} from 'bit-buffer';
|
import {BitStream} from 'bit-buffer';
|
||||||
import {Match} from "../../Data/Match";
|
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};
|
export type PacketParserMap = {[id: number]: Parser};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue