Last active
July 22, 2019 20:31
-
-
Save robinheinze/5ff291f9d1d01db29c0de64ad2224427 to your computer and use it in GitHub Desktop.
Question Store with extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const QuestionStoreModel = types | |
.model("QuestionStore") | |
.props({ | |
questions: types.optional(types.array(QuestionModel), []), | |
}) | |
.extend(withEnvironment) | |
.views(self => ({})) // eslint-disable-line @typescript-eslint/no-unused-vars | |
.actions(self => ({})) // eslint-disable-line @typescript-eslint/no-unused-vars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment