@codethread/tstl-validate
Version:
Fork and adaptation of valibot for use in typescript-to-lua
13 lines (12 loc) • 369 B
TypeScript
/** @noSelfInFile */
import type { IssueReason } from '../../error/index';
import type { ParseInfo, ValidateInfo } from '../../types';
/**
* Returns the pipe info.
*
* @param info The parse info.
* @param reason The issue reason.
*
* @returns The pipe info.
*/
export declare function getPipeInfo(info: ParseInfo | undefined, reason: IssueReason): ValidateInfo;