Get the Type of an instance of a Document with Class properties
class ClassName { @prop() public someProperty: string;}const NameModel = getModelForClass(ClassName);const doc: DocumentType<ClassName> = await NameModel.create({}); Copy
class ClassName { @prop() public someProperty: string;}const NameModel = getModelForClass(ClassName);const doc: DocumentType<ClassName> = await NameModel.create({});
Generated using TypeDoc
Get the Type of an instance of a Document with Class properties