Description
I tried to augment the `couchbase` module with the following :
declare module 'couchbase' {
|
class LookupInSpec<T> {
|
static get<T = any>(path: DocumentPath<T> | LookupInMacro, options?: \{ xattr?: boolean; });
|
}
|
|
class Collection {
|
lookupIn<T = any>(key: string, specs: LookupInSpec<T>[], options?: LookupInOptions, callback?: NodeCallback<LookupInResult>): Promise<LookupInResult>;
|
}
|
}
|
The type of `LookupInSpec` is augmented but not the type of `Collection`