DEV Community

Discussion on: type vs interface in TypeScript

Collapse
saadsharfuddin profile image
saad ahmad Author

Hey there! You are absolutely right, you can just write everything in one interface and personally that is what I usually do. I just wanted to point out that while declaration merging is not something you may use often, it is something that is possible.