UNPKG

@vinejs/compiler

Version:

Low level compiler for VineJS validator

10 lines (9 loc) 282 B
type ObjectGuardOptions = { variableName: string; guardedCodeSnippet: string; }; /** * Returns JS fragment to wrap code inside an object conditional */ export declare function defineObjectGuard({ variableName, guardedCodeSnippet }: ObjectGuardOptions): string; export {};