Files
scriptc/tests/diagnostics/arrow-bind.ts
T
2026-10-20 17:56:44 -05:00

6 lines
255 B
TypeScript

// Typed rest signatures still exceed the callable adapter. (A typed preset
// binds to a fixed signature and compiles.)
const preset = ((value: number) => value).bind(null, 1);
const rest = ((...values: number[]) => values.length).bind(null);
export {};