DEV Community

bin
bin

Posted on

16-interface vs type

user can reopen an interface. it means you can add more values into the interface.

for example, you want to add a github id into below interface

you can rewrite this interface below

inheritance is also an importance for interface.

Top comments (0)