v-if does not fix object might be null error on @click #1351
              
                Unanswered
              
          
                  
                    
                      danielmoessner
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments 4 replies
-
| 
         Solved: #1249  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            -
| 
         Since version 1.0.x it is not working anymore. It used to work below 1.x  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got the following error:
Is this an error with Volar? Or am I doing something wrong? Or is it not possible to have TypeScript not complain here?
Code:
Beta Was this translation helpful? Give feedback.
All reactions