DEV Community

Discussion on: My confusions about TypeScript

 
kenbellows profile image
Ken Bellows

Yeah Model isn't my class, it's provided by Objection.js, an ORM library I'm using. As mentioned in the post, I need to access static properties of various subclasses of Model, so I need to pass around the classes themselves.