Skip to content

Instantly share code, notes, and snippets.

View SandeepOCT's full-sized avatar
🎯
Focusing

Konda Sandeep SandeepOCT

🎯
Focusing
View GitHub Profile
@SandeepK1729
SandeepK1729 / dot-utility.ts
Created June 7, 2025 10:26
Typescript Utility
/**
* Dot Notation Type Utility
*
* This utility type converts an object type into a dot notation string type.
* It recursively traverses the object properties and constructs a string
* representation of the paths to each property, using dot notation.
*
* @example
* type Example = {
* user: {