it gives me the error
                      
                      
                      Type of computed property's value is 'Promise<typeof import("/redacted/src/handlers/googleAnalytics")>', which is not assignable to type 'Promise<EventHandler>'.
                      
                      
                        Property 'call' is missing in type 'typeof import("/redacted/src/handlers/googleAnalytics")' but required in type 'EventHandler'.ts(2418)
                      
                      
                    
But maybe you meant to do .default?
 Watzon
                          🍉🇵🇸
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          Watzon
                          🍉🇵🇸
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  Ahh I forgot about .default. It doesn't work here though because I'm not resolving the promise first.
Well just slap .then(x => x.default) in there
Обсуждают сегодня