Skip to content

Commit

Permalink
+type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Dec 19, 2023
1 parent ced8ff4 commit fc0b449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion style/sheet/sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ namespace $ {
} else if( key[0] === '[' && key[key.length-1] === ']' ) {

const attr = key.slice( 1, -1 )
const vals = config[ key as any ] as Record< string, any >
const vals = config[ key as any ] as any as Record< string, any >

for( let val in vals ) {
make_class( selector( prefix , path ) + ':where([' + attr + '=' + JSON.stringify( val ) + '])' , [] , vals[val] )
Expand Down

0 comments on commit fc0b449

Please sign in to comment.