nest-demo
                                
                                 nest-demo copied to clipboard
                                
                                    nest-demo copied to clipboard
                            
                            
                            
                        Mongoose Guidance when extending from SharedModel
Hello Chau,
Loved the tutorial and structure. Now question is in your example, lets say you need to reference objectiD from another model, how would you do it for the todo.model.ts, todo-vm.model.ts and todo-params.model.ts.
I was playing around and I tried to do something like the below but no luck.
` import { SharedModel } from '../../shared/shared.model'; import { TypesSchema } from './../../types/schema/types.schema';
export interface Properties extends SharedModel { content: string; isCompleted: boolean; type: TypesSchema; } `
@accilies Hi, sorry for taking so long to see this issue.
I don't quite get the question. Can you please rephrase it?