Skip to content

Commit 0a4284a

Browse files
chore(statics): use type annotation for UnderlyingAsset key
TICKET: WP-5182
1 parent 8dfec04 commit 0a4284a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/statics/test/unit/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('UnderlyingAsset', function () {
77
const duplicateAssets: (typeof UnderlyingAsset)[] = [];
88

99
for (const asset in UnderlyingAsset) {
10-
const assetValue = UnderlyingAsset[asset].toUpperCase();
10+
const assetValue = UnderlyingAsset[asset as keyof UnderlyingAsset].toUpperCase();
1111
if (underlyingAssetSet.has(assetValue)) {
1212
duplicateAssets.push(assetValue);
1313
}

0 commit comments

Comments
 (0)