How to return tuple in typescript
Tuesday 02/08/2022
·1 min readShare:
We can do something like this:
return [variable1, variable2, variable3, variable4] as const
Share:
Tuesday 02/08/2022
·1 min readWe can do something like this:
return [variable1, variable2, variable3, variable4] as const
Upgrade your basic RAG pipeline to an agentic loop that evaluates retrieval quality, reformulates queries, and retries with alternative strategies — all in TypeScript.
Anthropic accidentally shipped source maps in their Claude Code npm package, exposing the full architecture. Here is what the leaked code teaches us about building production AI agents.
Compare Claude Agent SDK and OpenAI Agents SDK by building the same coding assistant in both. Real TypeScript code, honest tradeoffs, and guidance on which to pick.