mlh-tsd
Version:
Check TypeScript type definitions
12 lines (11 loc) • 540 B
TypeScript
import { CallExpression } from '../../../../libraries/typescript/lib/typescript';
import { TypeChecker } from '../../entities/typescript';
import { Diagnostic } from '../../interfaces';
/**
* Verifies that the argument of the assertion is not assignable to the generic type of the assertion.
*
* @param checker - The TypeScript type checker.
* @param nodes - The `expectType` AST nodes.
* @return List of custom diagnostics.
*/
export declare const isNotAssignable: (checker: TypeChecker, nodes: Set<CallExpression>) => Diagnostic[];