summary refs log tree commit diff
path: root/src/util/imports/Erlpack.ts
blob: a69cffbb9e44480744256da8413637185acdeba0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/*
	https://github.com/discord/erlpack/blob/master/js/index.d.ts
	MIT License
	Copyright (c) 2017 Discord
*/
/* eslint-disable @typescript-eslint/no-explicit-any */
// @fc-license-skip

export type ErlpackType = {
	pack: (data: any) => Buffer;
	unpack: <T = any>(data: Buffer) => T;
};