maps.ts:8:7 - error SC2009: values of type 'Map<string, () => void>' cannot be compiled: the Map shape is supported, but '() => void' values have no Map slot yet

  7 | // Values exclude functions (no closure story in the uniform value slot yet).
  8 | const handlers = new Map<string, () => void>();
    |       ^~~~~~~~
  9 | 

  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')

maps.ts:8:18 - error SC1090: Map values of type '() => void' (Map values must be number, string, boolean, records, class instances, typed arrays, arrays, promises, Maps, Sets, or supported unions and checked values) is not supported yet

  7 | // Values exclude functions (no closure story in the uniform value slot yet).
  8 | const handlers = new Map<string, () => void>();
    |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9 | 

maps.ts:29:28 - error SC1090: JSON.stringify of 'Map<string, number>' values (only number, string, boolean, records, arrays, unions of those, and 'unknown' stringify) are not supported yet

  28 | const m = new Map<string, number>();
  29 | console.log(JSON.stringify(m));
     |                            ^
  30 | 

maps.ts:32:16 - error SC1090: Map methods as values (call 'get' directly) are not supported yet

  31 | // Map methods have no bound-value form — call them directly.
  32 | const getter = m.get;
     |                ^~~~~
  33 | // Reached: collection defers its diagnostics until a reference makes