Created
          March 1, 2023 02:06 
        
      - 
      
- 
        Save hendrixroa/d7e219e36549c41b990186e15b5396e9 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | private calculateVulnerabilities(dataVulnerabilities: Vulnerabilities): number { | |
| const countVulnerabilities: number = Object.values( | |
| dataVulnerabilities, | |
| ).reduce((total: number, current: number) => { | |
| return total + current; | |
| }); | |
| return countVulnerabilities; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment