ghostdevv/jellycommands

Improve types of Props

Closed this issue · 1 comments

Describe the feature

Use global ts defs to add a Props interface people can type so that types can be added globally

Examples

interface Props {
	db: import('knex').Knex
}
const db = client.props.get('db') // this is typed to Knex

Added as of #155