Comparing version 0.25.0 to 0.26.0
@@ -11,2 +11,2 @@ import { CallExpression, TypeChecker } from '@tsd/typescript'; | ||
*/ | ||
export declare type Handler = (typeChecker: TypeChecker, nodes: Set<CallExpression>) => Diagnostic[]; | ||
export type Handler = (typeChecker: TypeChecker, nodes: Set<CallExpression>) => Diagnostic[]; |
@@ -22,2 +22,3 @@ "use strict"; | ||
interfaces_1.DiagnosticCode.GenericTypeRequiresTypeArguments, | ||
interfaces_1.DiagnosticCode.GenericTypeRequiresBetweenXAndYTypeArugments, | ||
interfaces_1.DiagnosticCode.ExpectedArgumentsButGotOther, | ||
@@ -24,0 +25,0 @@ interfaces_1.DiagnosticCode.ExpectedAtLeastArgumentsButGotOther, |
import { CompilerOptions } from '@tsd/typescript'; | ||
import { NormalizedPackageJson } from 'read-pkg-up'; | ||
export declare type RawCompilerOptions = Record<string, any>; | ||
export type RawCompilerOptions = Record<string, any>; | ||
export interface Config<Options = CompilerOptions> { | ||
@@ -8,4 +8,4 @@ directory: string; | ||
} | ||
export declare type RawConfig = Partial<Config<RawCompilerOptions>>; | ||
export declare type PackageJsonWithTsdConfig = NormalizedPackageJson & { | ||
export type RawConfig = Partial<Config<RawCompilerOptions>>; | ||
export type PackageJsonWithTsdConfig = NormalizedPackageJson & { | ||
tsd?: RawConfig; | ||
@@ -24,2 +24,3 @@ }; | ||
GenericTypeRequiresTypeArguments = 2314, | ||
GenericTypeRequiresBetweenXAndYTypeArugments = 2707, | ||
TypeIsNotAssignableToOtherType = 2322, | ||
@@ -26,0 +27,0 @@ TypeDoesNotSatisfyTheConstraint = 2344, |
@@ -9,2 +9,3 @@ "use strict"; | ||
DiagnosticCode[DiagnosticCode["GenericTypeRequiresTypeArguments"] = 2314] = "GenericTypeRequiresTypeArguments"; | ||
DiagnosticCode[DiagnosticCode["GenericTypeRequiresBetweenXAndYTypeArugments"] = 2707] = "GenericTypeRequiresBetweenXAndYTypeArugments"; | ||
DiagnosticCode[DiagnosticCode["TypeIsNotAssignableToOtherType"] = 2322] = "TypeIsNotAssignableToOtherType"; | ||
@@ -11,0 +12,0 @@ DiagnosticCode[DiagnosticCode["TypeDoesNotSatisfyTheConstraint"] = 2344] = "TypeDoesNotSatisfyTheConstraint"; |
@@ -10,3 +10,3 @@ import { Program, CallExpression } from '@tsd/typescript'; | ||
export declare const extractAssertions: (program: Program) => Map<Assertion, Set<CallExpression>>; | ||
export declare type ExpectedError = Pick<Diagnostic, 'fileName' | 'line' | 'column'>; | ||
export type ExpectedError = Pick<Diagnostic, 'fileName' | 'line' | 'column'>; | ||
/** | ||
@@ -13,0 +13,0 @@ * Loop over all the error assertion nodes and convert them to a location map. |
{ | ||
"name": "tsd", | ||
"version": "0.25.0", | ||
"version": "0.26.0", | ||
"description": "Check TypeScript type definitions", | ||
@@ -42,3 +42,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@tsd/typescript": "~4.9.3", | ||
"@tsd/typescript": "~4.9.5", | ||
"eslint-formatter-pretty": "^4.1.0", | ||
@@ -65,3 +65,3 @@ "globby": "^11.0.1", | ||
"rxjs": "^6.5.3", | ||
"typescript": "~4.8.3" | ||
"typescript": "~4.9.5" | ||
}, | ||
@@ -68,0 +68,0 @@ "ava": { |
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
82173
1572
Updated@tsd/typescript@~4.9.5