Closed this issue 2 years ago · 1 comments
Use global ts defs to add a Props interface people can type so that types can be added globally
interface Props { db: import('knex').Knex }
const db = client.props.get('db') // this is typed to Knex
Added as of #155