4 Matching Annotations
- Sep 2020
-
www.ryanjyost.com www.ryanjyost.com
-
Technique 5: Fail tests when there’s an unknown console error
Great technique! Especially useful for type checking props passed into Vue component. Vue component checks types at runtime but only outputs to console. This catches those errors for me.
-
-
blog.logrocket.com blog.logrocket.com
-
@Prop() readonly msg!: string
msg! - "definite assignment assertions", even readonly, even nothing assigned, would not be undefined.
-
-
vuex.vuejs.org vuex.vuejs.org
-