xo
Version:
JavaScript/TypeScript linter (ESLint wrapper) with great defaults
6 lines • 305 B
TypeScript
import type * as ts from 'typescript';
/**
* Resolves the given node's type. Will resolve to the type's generic constraint, if it has one.
*/
export declare function getConstrainedTypeAtLocation(checker: ts.TypeChecker, node: ts.Node): ts.Type;
//# sourceMappingURL=getConstrainedTypeAtLocation.d.ts.map