mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
eb400b8bb2
Continuation of #21132. All uses of the `Uint32Array` view of the buffer in raw transfer code have been removed in preceding PRs. So we can now remove it entirely.
19 lines
492 B
TypeScript
19 lines
492 B
TypeScript
// Auto-generated code, DO NOT EDIT DIRECTLY!
|
|
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`.
|
|
|
|
import type { Program } from "./types.d.ts";
|
|
|
|
type BufferWithArrays = Uint8Array & {
|
|
int32: Int32Array;
|
|
float64: Float64Array;
|
|
};
|
|
|
|
export declare function deserializeProgramOnly(
|
|
buffer: BufferWithArrays,
|
|
sourceText: string,
|
|
sourceStartPosInput: number,
|
|
sourceByteLen: number,
|
|
): Program;
|
|
|
|
export declare function resetBuffer(): void;
|