@vinejs/compiler
Version:
Low level compiler for VineJS validator
15 lines (14 loc) • 409 B
TypeScript
/**
* Options accepts by the output script
*/
type MovePropertiesOptions = {
variableName: string;
allowUnknownProperties: boolean;
fieldsToIgnore: string[];
};
/**
* Returns JS fragment for moving properties from the source
* to destination
*/
export declare function defineMoveProperties({ variableName, fieldsToIgnore, allowUnknownProperties, }: MovePropertiesOptions): string;
export {};