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
Build a voice AI assistant in the browser with TypeScript using the Web Speech API, an LLM, and speech synthesis. Handle interruption, wake words, and mobile quirks — no backend needed for speech.
Upgrade your RAG chatbot with inline citations using Claude's Citations API and a React UI that renders clickable source markers. Full TypeScript walkthrough including hallucination detection.
Practical TypeScript codebase patterns that make Claude Code, Cursor, and Copilot dramatically more effective. CLAUDE.md, module boundaries, typed configs, and the file-size rule that fixed our agent's worst habits.