mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-02 08:35:07 +08:00
- Preserve unbound class methods, call-time receivers, and bound callback arguments. - Keep native factory results, fallback functions, and mutable JavaScript renderer state intact. - Support live Error.cause assignment, deletion, and property descriptors across aliases.
5 lines
205 B
TypeScript
5 lines
205 B
TypeScript
// Typed preset and rest signatures still exceed the callable adapter.
|
|
const preset = ((value: number) => value).bind(null, 1);
|
|
const rest = ((...values: number[]) => values.length).bind(null);
|
|
export {};
|