-
Notifications
You must be signed in to change notification settings - Fork 641
Open
Labels
TypescriptIssue related to Typescript typingsIssue related to Typescript typingsdocs or examplesDocumentation or examples relatedDocumentation or examples related
Description
Bug report
- I've checked documentation and searched for existing issues and discussions
- I've made sure my project is based on the latest MST version
- Fork this code sandbox or another minimal reproduction.
Sandbox link or minimal reproduction code
I try to get the type of model by using Instance method just like the doc recommended, but the result confused me:
when i define a model like the pic below, it works fine
but when i define a model in this way, i got a unknown type
Is there anyway i can avoid this or i just missed some key information when reading the doc?
kuguarpwnz
Metadata
Metadata
Assignees
Labels
TypescriptIssue related to Typescript typingsIssue related to Typescript typingsdocs or examplesDocumentation or examples relatedDocumentation or examples related