about things notes.zzstoatzz.io
README.md

typescript #

assumes 5.x, bun for tooling.

house style is a skill, not a note: typescript-house-style in the skills repo.

language #

  • narrowing — instanceof with a constructor parameter, filter predicates, and parsing wire values with the domain's validators instead of typeof
  • satisfies — keeps the inferred type, and leaves an empty array as never[]

ecosystem #

  • linters — which linters can see types, and how syntax-only rules read the source
  • zod mini imports — named imports let Bun drop schema and locale code that the z namespace keeps reachable

sources #

  • doodl: oxlint and anti-slop adoption; narrowing patterns from a vanilla-TS DOM app.
  • pensieve: lexicon validators in place of typeof.