Open nicolas-besnard opened 4 years ago
Hi,
Thank your for your lib, it's very useful when working with Postgis and Knex!
In Typescript, I'd like to be able to use the ExtendedKnexRaw to be able to use it in an interface where I'm storing the result of setSRID
ExtendedKnexRaw
interface
setSRID
Example:
interface LeadRepositoryAttributes { coordinates: ExtendedKnexRaw } const leage: LeadRepositoryAttributes = { coordinates: setSRID(makePoint()) }
Would you accept a PR that do that, or is there a different way to achieve this?
Hi nicolas, I only know basic stuff about typescript, so I don't know what is the best way to achieve what you want. Send me that PR, I'll gladly review it
Hi,
Thank your for your lib, it's very useful when working with Postgis and Knex!
In Typescript, I'd like to be able to use the
ExtendedKnexRaw
to be able to use it in aninterface
where I'm storing the result ofsetSRID
Example:
Would you accept a PR that do that, or is there a different way to achieve this?