astro-ghostcms/.pnpm-store/v3/files/8e/796a4dbbd2de3a81d92c0aa51df...

8 lines
413 B
Plaintext

import * as ts from 'typescript';
/**
* Returns the contextual type of a given node.
* Contextual type is the type of the target the node is going into.
* i.e. the type of a called function's parameter, or the defined type of a variable declaration
*/
export declare function getContextualType(checker: ts.TypeChecker, node: ts.Expression): ts.Type | undefined;
//# sourceMappingURL=getContextualType.d.ts.map