UNPKG

333 BTypeScriptView Raw
1import type { NodePath } from '@babel/traverse';
2import type { ObjectProperty } from '@babel/types';
3/**
4 * Resolve and ObjectProperty inside an ObjectPattern to its value if possible
5 * If not found `null` is returned
6 */
7export default function resolveObjectPatternPropertyToValue(path: NodePath<ObjectProperty>): NodePath | null;