Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript virtuals docs #10754

Closed
vkarpov15 opened this issue Sep 20, 2021 · 3 comments
Closed

TypeScript virtuals docs #10754

vkarpov15 opened this issue Sep 20, 2021 · 3 comments
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@vkarpov15
Copy link
Collaborator

Re: #10689

@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Sep 20, 2021
@vkarpov15 vkarpov15 added this to the 6.0.10 milestone Sep 20, 2021
@vkarpov15 vkarpov15 modified the milestones: 6.0.10, 6.0.13 Oct 4, 2021
@vkarpov15 vkarpov15 modified the milestones: 6.0.13, 6.0.14 Nov 12, 2021
@hasezoey
Copy link
Collaborator

it would be great to also have a example of this with typescript classes and their instance methods, static methods, and get / set (mongoose loadClass)

@vkarpov15
Copy link
Collaborator Author

@hasezoey do you have any examples like this?

@hasezoey
Copy link
Collaborator

@hasezoey do you have any examples like this?

not really, expect double/triple-defining the methods (once in the class with implementation and once in a interface that only contains functions definitions(static & instance & maybe getters&setters) and in native mongoose once in a interface that only contains properties)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

No branches or pull requests

2 participants