mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 02:29:30 +08:00
8 lines
No EOL
413 B
Text
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 |