@codethread/tstl-validate
Version:
Fork and adaptation of valibot for use in typescript-to-lua
11 lines (10 loc) • 323 B
TypeScript
/** @noSelfInFile */
import type { ParseResult } from '../../types';
/**
* Creates a custom transformation function.
*
* @param action The transform action.
*
* @returns A transformation function.
*/
export declare function toCustom<TInput>(action: (input: TInput) => TInput): (input: TInput) => ParseResult<TInput>;