tambahannya

This commit is contained in:
bipproduction
2026-01-22 11:41:58 +08:00
parent 71754df1f6
commit 049bddeba1
32 changed files with 702 additions and 1796 deletions

View File

@@ -161,6 +161,11 @@ declare interface BinaryTargetsEnvValue {
native?: boolean;
}
/**
* Equivalent to `Uint8Array` before TypeScript 5.7, and `Uint8Array<ArrayBuffer>` in TypeScript 5.7 and beyond.
*/
export declare type Bytes = ReturnType<Uint8Array['slice']>;
export declare type Call<F extends Fn, P> = (F & {
params: P;
})['returns'];