@twinfinity/twinClassesTwinOn this pageTwin <TProject, TProduct, TEntityType, TUnit>A loaded twin: its id, the version that was loaded, and the client model when one was loaded. TwinClient's loaders return plain objects of this shape, never instances of the class, so use it as a type.Index ConstructorsconstructorPropertiesidmodelversionConstructors constructornew Twin<TProject, TProduct, TEntityType, TUnit>(): Twin<TProject, TProduct, TEntityType, TUnit>Type parametersTProjectTProductTEntityTypeTUnitReturns Twin<TProject, TProduct, TEntityType, TUnit>Properties idid: stringoptionalmodelmodel?: T8ClientModel<TProject, TProduct, TEntityType, TUnit>versionversion: number
A loaded twin: its id, the version that was loaded, and the client model when one was loaded.
TwinClient's loaders return plain objects of this shape, never instances of the class, so use it as a type.