From fc0b449050782ef38416f1186a984a3872f8b996 Mon Sep 17 00:00:00 2001 From: jin Date: Tue, 19 Dec 2023 20:50:03 +0300 Subject: [PATCH] +type fix --- style/sheet/sheet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/sheet/sheet.ts b/style/sheet/sheet.ts index 9021a93494a..b49e61b4632 100644 --- a/style/sheet/sheet.ts +++ b/style/sheet/sheet.ts @@ -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] )