You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for creating this project! I've been looking for nice typescript support for couchbase. I have your library up and running, but don't see many methods. Are you planning on adding some insert methods?
The text was updated successfully, but these errors were encountered:
@zMotivat0r How do you feel about changing repository.interface.ts to include something like this? It would keep you from having to manually add each method
export type Promisify<T> = {
[K in keyof T]: T[K] extends (req: infer U, b: any, c: any, callback: (e: any, r: infer V) => void) => any
? (r: U) => Promise<V>
: never
};
export interface Repository<T> extends Promisify<Bucket> {
Thanks for creating this project! I've been looking for nice typescript support for couchbase. I have your library up and running, but don't see many methods. Are you planning on adding some insert methods?
The text was updated successfully, but these errors were encountered: