Tag:typescript
All content with the tag "typescript".
Build Your Own Eval Harness from Scratch with Bun and claude -p
A hands-on tutorial: build a real, working eval harness for an AI agent in a single Bun file. Run the agent in a sandbox, grade it deterministically and with an LLM judge, vote across trials, and gate CI on the result.
Read More→Vibe Engineering Effect Apps: Just Clone the Repo
Michael Arnaldi's workshop on building Effect apps with coding agents. The single trick: clone the library repo as a git subtree so the agent reads source code instead of fighting stale docs.
Read More→My Opinionated ESLint + Oxlint Setup for Vue Projects
A battle-tested linting configuration that catches real bugs, enforces clean architecture, and runs fast using Oxlint and ESLint together.
Read More→Claude Code Customization Guide (2026): CLAUDE.md vs Skills vs Subagents
When should you use CLAUDE.md, a slash command, a skill, or a subagent in Claude Code? A decision guide with real examples for each, so you stop guessing which one fits the job.
Read More→Vue 3 Testing Pyramid: A Practical Guide with Vitest Browser Mode
Learn a practical testing strategy for Vue 3 applications using composable unit tests, Vitest browser mode integration tests, and visual regression testing.
Read More→Vue Composables Style Guide: Lessons from VueUse's Codebase
A practical guide for writing production-quality Vue 3 composables, distilled from studying VueUse's patterns for SSR safety, cleanup, and TypeScript.
Read More→Building a Modular Monolith with Nuxt Layers: A Practical Guide
Learn how to build scalable applications using Nuxt Layers to enforce clean architecture boundaries without the complexity of microservices.
Read More→What Is the Model Context Protocol (MCP)? How It Works
Learn how MCP (Model Context Protocol) standardizes AI tool integration, enabling LLMs to interact with external services, databases, and APIs through a universal protocol similar to USB-C for AI applications.
Read More→Mastering GraphQL Fragments in Vue 3: Component-Driven Data Fetching
Part 3 of the Vue 3 + GraphQL series: Learn how to use GraphQL fragments with fragment masking to create truly component-driven data fetching in Vue 3.
Read More→TIL - Blending Fuzzy and Semantic Search with Reciprocal Rank Fusion
Learn how to merge fuzzy and semantic search results using Reciprocal Rank Fusion (RRF) with TypeScript implementation and interactive Vue demo
Read More→No Server, No Database: Smarter Related Posts in Astro with `transformers.js`
How I used Hugging Face embeddings to create smart “Related Posts” for my Astro blog—no backend, no database, just TypeScript.
Read More→TIL: TypeScript Function Overloads
Today I learned about function overloads in TypeScript. They solve a common problem - making your code understand exactly what type comes out based on what type goes in.
Read More→TIL: Powerful Vue.js Patterns for Complex JSON Rendering
Key insights on using provide/inject and recursive components to build a JSON viewer in Vue.js
Read More→How to Implement a Cosine Similarity Function in TypeScript for Vector Comparison
Learn how to build an efficient cosine similarity function in TypeScript for comparing vector embeddings. This step-by-step guide includes code examples, performance optimizations, and practical applications for semantic search and AI recommendation systems
Read More→TypeScript Type Extraction Patterns
Learn powerful TypeScript patterns for extracting and transforming nested types from complex interfaces.
Read More→Better Type Inference with TypeScript Array Filters
How to improve TypeScript type inference when filtering arrays using type guards
Read More→How to Use the Variant Props Pattern in Vue
Learn how to create type-safe Vue components where prop types depend on other props using TypeScript discriminated unions. A practical guide with real-world examples.
Read More→Dynamic Pinia Stores in Vue 3
Create dynamic Pinia stores with unique IDs for separate component instances
Read More→TypeScript Tutorial: Extracting All Keys from Nested Object
Learn how to extract all keys, including nested ones, from TypeScript objects using advanced type manipulation techniques. Improve your TypeScript skills and write safer code.
Read More→TypeScript Snippets in Astro: Show, Don't Tell
Learn how to add interactive type information and syntax highlighting to TypeScript snippets in your Astro site, enhancing code readability and user experience.
Read More→The Problem with as in TypeScript: Why It's a Shortcut We Should Avoid
Learn why as can be a Problem in Typescript
Read More→Exploring the Power of Square Brackets in TypeScript
TypeScript, a statically-typed superset of JavaScript, implements square brackets [] for specific purposes. This post details the essential applications of square brackets in TypeScript, from array types to complex type manipulations, to help you write type-safe code.
Read More→Robust Error Handling in TypeScript: A Journey from Naive to Rust-Inspired Solutions
Learn to write robust, predictable TypeScript code using Rust's Result pattern. This post demonstrates practical examples and introduces the ts-results library, implementing Rust's powerful error management approach in TypeScript.
Read More→Mastering TypeScript: Looping with Types
Did you know that TypeScript is Turing complete? In this post, I will show you how you can loop with TypeScript.
Read More→