123456789 |
- import type { NodePath } from '@babel/traverse';
- /**
- * If the path is an identifier, it is resolved in the scope chain.
- * If it is an assignment expression, it resolves to the right hand side.
- * If it is a member expression it is resolved to it's initialization value.
- *
- * Else the path itself is returned.
- */
- export default function resolveToValue(path: NodePath): NodePath;
|