abstract-function
an abstract function that does nothing except throw an error when called.
Installation
npm install abstract-function
Example
var abstract = ; // interfacevar User = login: abstract register: abstract // subclass {};UserRepoprototype = Object; // extend the User.UserRepoprototype { console;} var user = ;user; // okuser; //throw not implement exception
License
MIT