Skip to content

Instantly share code, notes, and snippets.

@bthesorceror
Created January 5, 2018 03:55
Show Gist options
  • Save bthesorceror/024e4638ffee75fe94842aff5213e072 to your computer and use it in GitHub Desktop.
Save bthesorceror/024e4638ffee75fe94842aff5213e072 to your computer and use it in GitHub Desktop.
generics.Vehicle = (function () {
class Entity {}
class Vehicle {
constructor() {
super();
this.entity = Entity
}
}
return Vehicle
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment