Utility Types Mapped Types
Reimplement Partial and Required
Recursive DeepReadonly<T> Utility Type
Recursive DeepPartial<T> Utility Type
RequiredKeys Utility Type
Reimplement Pick and Omit Utility Types
Recursive DeepOmit Utility Type
PublicMethods Mapped Type
Type Safe Data Structures
Type-Safe localStorage Manager
Type-Safe Generic EventEmitter
Type-Safe DI Container Without Reflection
Type-Safe Service Registry
Type-State Builder With Guarded build()
Template Literal String Types
Type-Safe Deep get By Path
SnakeToCamelCase Template Literal Type
Type-Safe Route Param Parser
Split String Literal Into Tuple
Discriminated Unions
Exhaustive Union Switch With never
Type-Safe Tagged Union Factory
Exhaustive Discriminated Union API States
Compile-Time-Safe State Machine With Unions
Object Utilities
Type-Safe pick(obj, keys)
Typed Object.keys and Object.entries
Type-Safe groupBy With Inferred Keys
Type-Safe Deep merge<T, U>
Recursive Object Sanitizer With Generics
Typed CSS Class String Parser
Getterify Object Keys via Mapped Type
Recursive SnakeToCamelCase Utility
Function Wrappers
Type-Safe memoize(fn) Wrapper
Type-Safe Generic Debounce Function
Type-Safe Variadic pipe Function
Literal Inference Nominal Typing
Use satisfies for a Config Object
Branded Nominal Types Utility
asTuple With const Type Parameter
defineConfig With const Type Parameters
Type Guards Narrowing
Type Guards for API Unions
Result Type With Type Guards
Assertion Function With asserts
Conditional Types Infer
Function Parameter Simplifier Utility Type
Implement GetReturnType With infer
Recursive Awaited<T> Utility Type
Reimplement Parameters and ReturnType
UnionToIntersection Utility Type
Tuple Type Level Programming
TupleToUnion Utility Type
Recursive Flatten<T> Utility Type
Tuple Utility Types: Length, Head, Tail
Decorators Validation Typed Fetch
Generic apiGet<T> Fetch Wrapper
Type-Safe Fetch Wrapper With Validation
@Log Method Decorator With Timing
@Required Property Decorator With Validation
Type-Inferred Schema Validator
Method-Logging Class Decorator
Type-Safe Fetch Wrapper With Route Registry
ValidationResult Monad With map and flatMap
DeepReadonly Proxy With Compile Time Safety