10+ Complex typeScript type defining Tips for Development
let's take a look at how you can build complex types in TypeScript using examples of JSON-like structures.
1.Plain object
const fullName: { firstName: string; lastName: string } = {
firstName: 'Lakshmanan',
lastName: 'Arumugam'
};
console.log(fu...
lakshmananarumugam.hashnode.dev5 min read