gotit
Sometimes you just want to make sure your objects all have the same properties.
; // define the interfaceconst car = ; // use the interface to make sure fields are what you expectconst hooptie = ; // throws when fields are missingconst bicycle = ; // throws when finding an unexpected fieldconst truck = ;
kickstarted by npm-boom