Socket
Socket
Sign inDemoInstall

typescript-is

Package Overview
Dependencies
5
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.18.0 to 0.18.1

8

lib/transform-inline/visitor-type-check.js

@@ -411,6 +411,3 @@ "use strict";

function visitType(type, visitorContext) {
if (type.aliasTypeArguments && visitorContext.previousTypeReference !== type && type.target) {
return visitTypeAliasReference(type, visitorContext);
}
else if ((ts.TypeFlags.Any & type.flags) !== 0) {
if ((ts.TypeFlags.Any & type.flags) !== 0) {
// Any

@@ -459,2 +456,5 @@ return visitAny(visitorContext);

}
else if (type.aliasTypeArguments && visitorContext.previousTypeReference !== type && type.target) {
return visitTypeAliasReference(type, visitorContext);
}
else if ((ts.TypeFlags.TypeParameter & type.flags) !== 0) {

@@ -461,0 +461,0 @@ // Type parameter

{
"name": "typescript-is",
"version": "0.18.0",
"version": "0.18.1",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=6.14.4"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc