Describe the bug
If you try to access the options set on a OAuth2Server instance when using TypeScript you'll get build errors.
The property exists on the class, just not in the type definition of the class.
To Reproduce
const options = { model }
const server = new OAuth2Server(options)
server.options // Property 'options' does not exist on type 'OAuth2Server'. ts(2339)
Expected behavior
I'm building a library based on this project where I need to properly access options set on the provided OAuth2Server instance