← CodeClarityLab Home
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — TypeScript educational data only
| |
Last 30 days
1 ping — 2026-04-08 W 0 pings — 2026-04-09 T 3 pings — 2026-04-10 F 9 pings — 2026-04-11 S 11 pings — 2026-04-12 S 15 pings — 2026-04-13 M 1 ping — 2026-04-14 T 1 ping — 2026-04-15 W 1 ping — 2026-04-16 T 13 pings — 2026-04-17 F 5 pings — 2026-04-18 S 27 pings — 2026-04-19 S 7 pings — 2026-04-20 M 0 pings — 2026-04-21 T 6 pings — 2026-04-22 W 7 pings — 2026-04-23 T 28 pings — 2026-04-24 F 26 pings — 2026-04-25 S 12 pings — 2026-04-26 S 5 pings — 2026-04-27 M 3 pings — 2026-04-28 T 6 pings — 2026-04-29 W 14 pings — 2026-04-30 T 24 pings — 2026-05-01 F 11 pings — 2026-05-02 S 9 pings — 2026-05-03 S 2 pings — 2026-05-04 M 2 pings — 2026-05-05 T 2 pings — Yesterday W 1 ping — Today T
Perplexity 1
Amazonbot 213Perplexity 190Google 74ChatGPT 71Ahrefs 51Unknown AI 49SEMrush 23Meta AI 9You.com 3Bing 1
crawler 638 crawler_json 28 pre-tracking 18
Category total684 pings Terms pinged26 / 26 Distinct agents9
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Diagram: Covariance & Contravariance Covariance & Contravariance 4.7
Variance describes how subtype relationships on a type's components affect subtype relationships on the whole type — covariant types follow the direction, contravariant types reverse it.
4w ago typescript advanced
Diagram: Discriminated Unions Discriminated Unions 2.0
A union of types that each carry a shared literal field (the discriminant) allowing TypeScript to narrow exhaustively — the canonical way to model mutually exclusive states.
4w ago typescript intermediate
Diagram: Module Augmentation & Declaration Merging Module Augmentation & Declaration Merging 2.0
Module augmentation lets you extend third-party or global type definitions without modifying their source — adding properties to existing interfaces, modules, or the global scope.
4w ago typescript advanced
Diagram: Recursive Types Recursive Types 3.7
Types that reference themselves to describe arbitrarily nested structures — trees, nested menus, JSON, linked lists — without requiring any escape hatch.
4w ago typescript advanced
Diagram: Type Guards & Narrowing Type Guards & Narrowing 2.0
Type guards are expressions that narrow a union type to a more specific type at runtime — telling TypeScript exactly which branch of a union you're in.
4w ago typescript intermediate
Branded / Opaque Types in TypeScript
A technique to make structurally identical types incompatible — a UserId and an OrderId are both strings, but branding makes them distinct types so passing an OrderId where UserId is expected is a compile-time error.
2mo ago typescript advanced
const Type Parameters (TS 5.0) 5.0
TypeScript 5.0 const type parameters infer literal types instead of widened types — const T extends string[] infers ['a','b'] not string[].
2mo ago typescript intermediate
Exhaustive Checks with never
Using the 'never' type in a default branch to make TypeScript error at compile time if a union type is not fully handled — ensures every new variant of a type forces a matching handler to be written.
2mo ago typescript intermediate
infer Keyword in Conditional Types 2.8
The infer keyword inside conditional types lets TypeScript extract and name a type from within a generic structure — enabling ReturnType<T>, Awaited<T>, and custom type extraction.
2mo ago typescript advanced
TypeScript Function Overloads
TypeScript function overloads allow a single function to accept different argument shapes and return different types based on which overload signature matches — providing precise type checking that union types alone cannot express.
2mo ago typescript intermediate
using & await using (TS 5.2 Explicit Resource Management) 5.2
TypeScript 5.2 using keyword automatically disposes resources (DB connections, file handles) when they go out of scope — like C# using or Python with.
2mo ago typescript advanced
satisfies Operator (TS 4.9) 4.9
satisfies validates that a value matches a type without widening the inferred type — keeping precise literal types while checking against an interface.
2mo ago typescript intermediate
Template Literal Types 4.1
TypeScript template literal types combine string literals with type interpolation — type EventName = `on${Capitalize<string>}` — enabling precise string-pattern type constraints.
2mo ago typescript advanced
Conditional Types & infer 2.8
Types that choose between two types based on a condition — T extends U ? X : Y — enabling type-level branching. The infer keyword extracts types from within a conditional.
2mo ago typescript advanced
Mapped Types & Template Literal Types 2.1
Mapped types transform existing types by iterating over their keys. Template literal types create string union types from combinations — together they enable powerful type-level transformations.
2mo ago typescript advanced
TypeScript Declaration Files (.d.ts) 2.0
Type-only files describing JavaScript code shapes — DefinitelyTyped (@types/* packages) provides community-maintained declarations for popular JS libraries.
2mo ago typescript advanced
TypeScript Decorators 4.0
Metadata annotations on classes, methods, and properties — used in NestJS, Angular, TypeORM, and class-validator to attach behaviour declaratively.
2mo ago typescript advanced
TypeScript Enums vs Const Enums vs Union Types 2.0
Three ways to define a set of named constants in TypeScript — regular enums emit JavaScript, const enums are inlined at compile time, and union types are the idiomatic zero-cost alternative.
2mo ago typescript intermediate
TypeScript Modules & Namespaces 2.0
ES modules (import/export) are the modern standard — namespaces are legacy for global scripts and ambient declarations only.
2mo ago typescript intermediate
TypeScript vs PHP Type System 4.0
TypeScript uses structural typing (shape compatibility); PHP uses nominal typing (explicit implements). TypeScript infers types; PHP requires annotations. Both support generics (PHP via PHPDoc).
2mo ago typescript intermediate
✓ schema.org compliant