Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Storage = Sup => class extends Sup {
- save(database) { }
- }
- const Validation = Sup => class extends Sup {
- validate(schema) { }
- }
- class Person { }
- class Employee extends Storage(Validation(Person)) { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement