Closed bwgjoseph closed 3 years ago
Hi,
In model.types.d.ts, it has
model.types.d.ts
export declare type ModelTypes<T = any> = WhateverTypes & IModel<T>;
But in model.d.ts, it has
model.d.ts
export declare class Model<T = any, R = any> extends Document<T> export interface IModel<T = any, R = any>
So IModel takes in T, R but ModelTypes takes in T and only passes T to IModel
IModel
T, R
ModelTypes
T
Not sure if this is the intended
alpha.28
https://github.com/couchbaselabs/node-ottoman/issues/471 created
Investigation done. This will be fixed with the next release
Fixed w/ alpha 29
Hi,
In
model.types.d.ts
, it hasBut in
model.d.ts
, it hasSo
IModel
takes inT, R
butModelTypes
takes inT
and only passesT
toIModel
Not sure if this is the intended