Closed mtin79 closed 1 year ago
the other advanced query parameters are also missing. Until #89 is merged, you can create an augment.d.ts
file in your project and paste the following content
declare module "athena-express" {
interface QueryObjectInterface {
db?: string
pagination?: number
NextToken?: string
QueryExecutionId?: string
catalog?: string
}
}
export default {}
make sure to include the last line, otherwise you will not augment but override the typings.
hi there, trying to use your example of a query config object as a parameter in the query function throws typescript errors!
Should i just ignore the typescript errors?
Also the documentation says that pagination format should be a string but examples are with numbers.
Thanks for help!!!