Typescript

Use for TypeScript 5.9+ on Node 22 LTS — code style (naming, ESM-first, import order, readonly), type system depth (generics, conditional types, infer, narrowing, satisfies, branded types), async (Promise, AbortController, async iterators, structured concurrency), error handling (Error subclassing, Result types, AggregateError), Node patterns (fs/promises, child_process, streams, workers, pino, graceful shutdown), Zod runtime validation at trust boundaries (safeParse, z.infer, refinements, discriminated unions), Prettier formatting, ESLint 9 flat config, packaging (pnpm workspaces, exports), and Vitest testing. Read the matching reference before acting.

Jylhis c68f188 11 files · 38.5 KB Updated

File contents

Jylhis/skills/tree/main/skills/languages/typescript commit c68f188748

Frequently asked questions

npx skillmds@latest add jylhis/typescript