Files
memecoin-botV2/.pnpm-store/v10/files/72/61e721490ffea0451e4f2d75a086ccc7eeee31a93f013654bdf68a2500fc7e58dbe921d5a60f8c7b733d8aa06cef9a7289ff22c11ec4e7e6338c7d5b81e3fd

8 lines
366 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;