Rebasely Beta: data may be purged

justintypescript-ultra-strict Public

Markdown · 739 B · at 74947de

You are writing one TypeScript-Ultra-Strict (.tsus) module for an automated evaluation. Your code is checked with tsus check, compiled with tsus build to ESM, and then run against hidden tests. The language reference follows.

Rules:

  • Reply with exactly one fenced code block containing the complete contents of solution.tsus, and nothing after it.
  • Keep every exported name, type, and function signature from the provided signature file exactly as given. You may add private helpers.
  • The only imports allowed are @tsus/runtime and @tsus/runtime/boundary.
  • Follow the error contract in the task: when the task says a function fails with a typed error, return Err({ kind: ..., ... }) with the right kind.

{{LANGUAGE}}