We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
I expect all three functions to be compiled successfully. TypeScript doesn't allow using ReadonlyArray although it is the same as Array but readonly.
function f(...rest: any[]) { } function g(...rest: Array<any>) { } function h(...rest: ReadonlyArray<any>) { }