You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for your comment. I`ve tried the version same as yours and still has the same error. Can you reproduce it in the vue playground that I provide above?
Vue version
3.4.31
Link to minimal reproduction
https://play.vuejs.org/#eNqtU02P0zAQ/SuDL+lKVboITiENgqoScFhWu5U4YIRCMmm8JHawnVLU5r8zdj62q1Z72lyc+fCb92bGB/ahacJdiyxiscm0aCwYtG2TcCnqRmkLq1JUORRa1RCEi8xZoTX74N2UcQCNBXRDDoEFXHKZKWks1GYLSxefBZ+wqhR8U7rKXwVXXMaLviCVIsNi3VSpRbIA4vJ1cjj4y10XL8jy3p6KFbbCJWdlWqacQWTLtv5lyHFN1oIy48UJGJsza4hLIbbhg1GShB4cGGeZqhtRof7aWEFcOYvAR1wsJap/v3if1S3OR39WYvb7gv/B7J2Ps1uNBvUOOZtiNtVbtH14fX+De/qfgrXK24qynwneoVFV6zj2aR9bmRPtkzzP9rMfhpDbjVnvLUozinJEXWbn8zmjAa2ekf5I90341t/jsqMuTpOnDk6Dz7EQ0sMpidLO4d4tz0pJS0rmYNUdFuZsNey/BuFWq8bEm4TWw9f2Y43AWE0anCNHk70/dfSDjmBDhAaQdS2scQjkwL0nRZTStvLnKbWZ36ANEC+UuQFJWKjhOOAns8bxiSZac/hJW+NkRE9Exb5kcgXLZOyZprCWMPM+X8d9cS52lOJhQy+uo2qD7bTB8QiBVF5ncBLrZdLaO4AejV7LOL+hpkxralbgX0QwLMKgYMiYOjrZ5KGekRyveLjkvqFlhDdC9bL+tEJj/mTVRxr9NZO9BHyRVuYS/jjvswrfhxJw44f441Kt6zPA/qRFoW6y7j9qfplB
Steps to reproduce
use
defineComponent
in function sgnature to define a genric component with an optional propuse the component somewhere else.
In my minimal reproduction, just simply remove one of child component`s prop and add it again can repoduce the error.
What is expected?
Optional prop should not throw required type error.
What is actually happening?
Optional prop still throws required type error.
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: