jsmanifest
Modern web development insights. React, TypeScript, and beyond.
Recent Posts
View all →Claude Code Token Usage Introspection in 2026: Reading the `usage` Field and Building Your Own Cost Dashboard
October 22, 2026
Anthropic's usage field returns structured token counts, but no first-party dashboard aggregates them into actionable cost metrics. Build a TypeScript parser, set per-user caps, and instrument the gaps in the official API.
TypeScript strictPropertyInitialization in Real Codebases: Patterns That Pass the Compiler Without Lying
October 21, 2026
Five battle-tested patterns for satisfying strictPropertyInitialization without definite assignment assertions that mask bugs. Learn when optional properties, constructor methods, and dependency injection give you type safety that holds at runtime.
TypeScript namespace Merging With Classes: The Companion Pattern and When It Beats a Plain Object
October 20, 2026
Learn how TypeScript namespace merging creates companion objects that group class-related utilities without polluting the prototype or global scope.
Stay Updated
Get the latest articles and updates delivered straight to your inbox.