[Vuejs]-Vue 3 + Typescript, union type with null in props declaration 12 October 2023 by thecoderscamp.com 0👍 works fine for me. pls checkout the demo https://play.vuejs.org/#eNp9UsFOwzAM/ZUoJ5BQd9itdEOAdoADTDBxyqVr3dKRJlHijKLSf8dJtTIQ7BI5fi/Pz3Z6fm1MsvfAU565wjYGmQP0ZimUUE1rtEV2q1tWWToET2Z0iQ8EDwyhCq0cso4tBHdl5coxn81GsSiTIbRG5gh0y4IYSzuid4KzWUjNJpxfcHSkWDV1snNakateKEaFCyrbSLCPBhuqKHjKIhKwXEr9fh9zaD1cHPLFKxRvf+R3jkqnFKwtOLB76mXCMLc14Aivnh+go3gCW116SewT4BM4LX3wONJuvCrJ9hEvur2Lk21UvXGrDkG5Q1PBaGAOkS84TTpM/L/Wv+3Ok3l8J9RAUzxs6fdamcxVTbNHkom7wQ8D7CWXHjYhWjCHlmyxT6Z8uwVLwVZrCbmKKSkvj9durDaOHpVQNQrW4ZaRt2Cku0onWfK0PDs/+S/6Pmol3UAd/PwTwxcJTOaS [Vuejs]-Destructuring nested objects in a Vue.js Pinia store Source:stackexchange.com