UNPKG
@vinejs/compiler
Version:
latest (4.1.2)
5.0.0
4.1.2
4.1.1
4.1.0
4.0.0
3.0.0
2.5.1
2.5.0
2.4.1
2.4.0
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
Low level compiler for VineJS validator
github.com/vinejs/compiler
vinejs/compiler
@vinejs/compiler
/
build
/
src
/
scripts
/
define_else_conditon.d.ts
10 lines
(9 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
type
ConditionalGuardOptions
= {
variableName
:
string
;
conditionalFnRefId
:
string
; };
/** * Returns JS fragment to invoke a function inside else block */
export
declare
function
defineElseCondition
(
{ variableName, conditionalFnRefId }:
ConditionalGuardOptions
):
string
;
export
{};