We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dfec04 commit 0a4284aCopy full SHA for 0a4284a
modules/statics/test/unit/base.ts
@@ -7,7 +7,7 @@ describe('UnderlyingAsset', function () {
7
const duplicateAssets: (typeof UnderlyingAsset)[] = [];
8
9
for (const asset in UnderlyingAsset) {
10
- const assetValue = UnderlyingAsset[asset].toUpperCase();
+ const assetValue = UnderlyingAsset[asset as keyof UnderlyingAsset].toUpperCase();
11
if (underlyingAssetSet.has(assetValue)) {
12
duplicateAssets.push(assetValue);
13
}
0 commit comments