Socket
Socket
Sign inDemoInstall

type-coverage

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-coverage - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

8

dist/index.js

@@ -909,5 +909,7 @@ "use strict";

const sourceFile = program.getSourceFile(file);
sourceFile.forEachChild(node => {
handleNode(node, file, sourceFile);
});
if (sourceFile) {
sourceFile.forEachChild(node => {
handleNode(node, file, sourceFile);
});
}
}

@@ -914,0 +916,0 @@ const percent = Math.round(100 * correctCount / totalCount);

{
"name": "type-coverage",
"version": "1.0.6",
"version": "1.0.7",
"description": "A CLI tool to check type coverage for typescript code",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,2 +5,4 @@ # type-coverage

This tool will check type of all identifiers, `the code coverage` = `the count of identifiers whose type is not any` / `the total count of identifiers`, the higher, the better.
[![Dependency Status](https://david-dm.org/plantain-00/type-coverage.svg)](https://david-dm.org/plantain-00/type-coverage)

@@ -7,0 +9,0 @@ [![devDependency Status](https://david-dm.org/plantain-00/type-coverage/dev-status.svg)](https://david-dm.org/plantain-00/type-coverage#info=devDependencies)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc