Urara-Blog/node_modules/.pnpm-store/v3/files/8e/796a4dbbd2de3a81d92c0aa51dfea5b7fc3f8779b352d6baf62c404bd255850b92d352eedb818f1356b75b23e5b4271b087458d9c8b144796130521cee9128
2022-08-14 01:14:53 +08:00

8 lines
No EOL
413 B
Text

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