Picture for reference
Picture for reference
For some reason TS likes to mix Interfaces and Types, which can be confusing coming from other languages. Either way, i've been burned too often using Interfaces as they are not as flexible as Types. For example...
For some reason TS likes to mix Interfaces and Types, which can be confusing coming from other languages. Either way, i've been burned too often using Interfaces as they are not as flexible as Types. For example...