@codethread/tstl-validate
Version:
Fork and adaptation of valibot for use in typescript-to-lua
12 lines (11 loc) • 300 B
TypeScript
/** @noSelfInFile */
import type { PathItem } from '../../types';
/**
* Returns the current path.
*
* @param info The parse info.
* @param key The current key.
*
* @returns The current path.
*/
export declare function getPath(prevPath: PathItem[] | undefined, pathItem: PathItem): PathItem[];