Typescript : can it validate that a key exists in an object ?
The problem is simpler than you think it is when you only look at the title.If an object contains a complex data structure like this :const structure = { a : { b : {c : { d : 1 } } } }With a function that can read inside the object :function read(path: string)… Read More »