File tree 4 files changed +7
-5
lines changed
4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,11 @@ const flagBlock: Block<BlockModule<FlagFunc>> = {
75
75
} ,
76
76
} ;
77
77
if ( isMultivariate ( flag ) ) {
78
- const value = ( flag ?. variants ?? [ ] ) . find ( ( variant ) =>
78
+ const value = ( ( flag ?. variants ?? [ ] ) . find ( ( variant ) =>
79
79
typeof variant ?. rule === "function" && variant ?. rule ( ctx )
80
- ) ?. value ?? ( flag ?. variants ?? [ ] ) [ flag ?. variants ?. length - 1 ] ;
80
+ ) as Variant < unknown > ) ?. value ??
81
+ ( ( flag ?. variants ?? [ ] ) [ flag ?. variants ?. length - 1 ] as Variant < unknown > )
82
+ ?. value ;
81
83
return isDeferred ( value ) ? value ( ) : value ;
82
84
}
83
85
const matchValue = typeof flag ?. matcher === "function"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @deco/deco" ,
3
- "version" : " 1.107.2-beta.3 " ,
3
+ "version" : " 1.107.2" ,
4
4
"lock" : false ,
5
5
"exports" : {
6
6
"." : " ./mod.ts" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @deco/dev" ,
3
- "version" : " 1.107.2-beta.3 " ,
3
+ "version" : " 1.107.2" ,
4
4
"exports" : {
5
5
"." : " ./mod.ts" ,
6
6
"./tailwind" : " ./tailwind.ts"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @deco/scripts" ,
3
- "version" : " 1.107.2-beta.3 " ,
3
+ "version" : " 1.107.2" ,
4
4
"exports" : {
5
5
"./release" : " ./release.ts" ,
6
6
"./update" : " ./update.run.ts" ,
You can’t perform that action at this time.
0 commit comments