Comparing version 0.13.0 to 0.13.1
@@ -14,3 +14,3 @@ "use strict"; | ||
// List of diagnostic codes which should be ignored inside `expectError` statements | ||
const diagnosticCodesToIgnore = new Set([ | ||
const expectErrordiagnosticCodesToIgnore = new Set([ | ||
interfaces_1.DiagnosticCode.ArgumentTypeIsNotAssignableToParameterType, | ||
@@ -20,5 +20,7 @@ interfaces_1.DiagnosticCode.PropertyDoesNotExistOnType, | ||
interfaces_1.DiagnosticCode.TypeIsNotAssignableToOtherType, | ||
interfaces_1.DiagnosticCode.TypeDoesNotSatisfyTheConstraint, | ||
interfaces_1.DiagnosticCode.GenericTypeRequiresTypeArguments, | ||
interfaces_1.DiagnosticCode.ExpectedArgumentsButGotOther, | ||
interfaces_1.DiagnosticCode.NoOverloadMatches | ||
interfaces_1.DiagnosticCode.NoOverloadMatches, | ||
interfaces_1.DiagnosticCode.PropertyMissingInType1ButRequiredInType2 | ||
]); | ||
@@ -37,3 +39,3 @@ /** | ||
} | ||
if (!diagnosticCodesToIgnore.has(diagnostic.code)) { | ||
if (!expectErrordiagnosticCodesToIgnore.has(diagnostic.code)) { | ||
return false; | ||
@@ -40,0 +42,0 @@ } |
@@ -21,2 +21,3 @@ import { CompilerOptions } from '../../libraries/typescript'; | ||
TypeIsNotAssignableToOtherType = 2322, | ||
TypeDoesNotSatisfyTheConstraint = 2344, | ||
PropertyDoesNotExistOnType = 2339, | ||
@@ -26,3 +27,4 @@ ArgumentTypeIsNotAssignableToParameterType = 2345, | ||
ExpectedArgumentsButGotOther = 2554, | ||
NoOverloadMatches = 2769 | ||
NoOverloadMatches = 2769, | ||
PropertyMissingInType1ButRequiredInType2 = 2741 | ||
} | ||
@@ -29,0 +31,0 @@ export interface Diagnostic { |
@@ -9,2 +9,3 @@ "use strict"; | ||
DiagnosticCode[DiagnosticCode["TypeIsNotAssignableToOtherType"] = 2322] = "TypeIsNotAssignableToOtherType"; | ||
DiagnosticCode[DiagnosticCode["TypeDoesNotSatisfyTheConstraint"] = 2344] = "TypeDoesNotSatisfyTheConstraint"; | ||
DiagnosticCode[DiagnosticCode["PropertyDoesNotExistOnType"] = 2339] = "PropertyDoesNotExistOnType"; | ||
@@ -15,2 +16,3 @@ DiagnosticCode[DiagnosticCode["ArgumentTypeIsNotAssignableToParameterType"] = 2345] = "ArgumentTypeIsNotAssignableToParameterType"; | ||
DiagnosticCode[DiagnosticCode["NoOverloadMatches"] = 2769] = "NoOverloadMatches"; | ||
DiagnosticCode[DiagnosticCode["PropertyMissingInType1ButRequiredInType2"] = 2741] = "PropertyMissingInType1ButRequiredInType2"; | ||
})(DiagnosticCode = exports.DiagnosticCode || (exports.DiagnosticCode = {})); |
@@ -0,0 +0,0 @@ TypeScript is authored by: |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ /*! ***************************************************************************** |
@@ -0,0 +0,0 @@ Apache License |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ /*!----------------- TypeScript ThirdPartyNotices ------------------------------------------------------- |
{ | ||
"name": "tsd", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "Check TypeScript type definitions", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85435
54186069