retired-engine-2790-array-missing-tagged-substitutions.ts:11:25 - error SC2009: values of type 'any[]' cannot be compiled: the array shape is supported, but its element type 'any' does not compile

  10 | 
  11 | function dynamicRest(...args: any[]): string {
     |                         ^~~~
  12 |   return `${args.length}:${String(args[1])}`;

  hint: the outer shape is supported — the named component is the blocker; restate it inside the compilable set (number, string, boolean, arrays, Maps, Sets, RegExp, functions, classes, records, unions of those, and 'unknown')

retired-engine-2790-array-missing-tagged-substitutions.ts:14:13 - error SC2004: uses of 'dynamicRest' inherit the blocker on its declaration

  13 | }
  14 | console.log(dynamicRest`a${values[9]}b`);
     |             ^~~~~~~~~~~
  15 | 

  hint: the declaration of 'dynamicRest' did not compile — fix the diagnostic reported there and these sites clear with it