Use erlpack instead of @yukikaze-bot/erlpack (#968)

This commit is contained in:
Madeline
2023-02-01 13:00:04 +11:00
committed by GitHub
parent 72c0319a9f
commit da20866967
8 changed files with 80 additions and 49 deletions
+12
View File
@@ -0,0 +1,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;
};
+1
View File
@@ -17,3 +17,4 @@
*/
export * from "./OrmUtils";
export * from "./Erlpack";