summary refs log tree commit diff
path: root/src/util/imports/Erlpack.ts
blob: 46431f0a74817706b3de2a417c9923eee36ca03b (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;
};