Open Andarist opened 1 month ago
inlay hints parameters rest spread argument
N/A
/// <reference path="fourslash.ts" /> //// function test(...rest: [first: number, ...middle: string[], last: string]) {} //// test(10, 'a', 'b', 'c') verify.baselineInlayHints(undefined, { includeInlayParameterNameHints: "all", includeInlayFunctionParameterTypeHints: true, });
function test(...rest: [first: number, ...middle: string[], last: string]) {} test(/* first: */10, /* ...middle: */'a', /* last: */'b', 'c')
function test(...rest: [first: number, ...middle: string[], last: string]) {} test(/* first: */10, /* ...middle: */'a', 'b', /* last: */'c')
No response
Hello @Andarist I started looking at this issue
🔎 Search Terms
inlay hints parameters rest spread argument
🕗 Version & Regression Information
⏯ Playground Link
N/A
💻 Code
🙁 Actual behavior
🙂 Expected behavior
Additional information about the issue
No response