Skip to content

Commit 6b9499f

Browse files
committed
prettier
1 parent 7e8ab46 commit 6b9499f

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

src/lib/components/market/utility_belt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ export class UtilityBelt extends FloatElement {
8686

8787
return html`
8888
<div class="bugged-skin-warning">
89-
<b>${this.buggedSkinCount} skin${this.buggedSkinCount > 1 ? 's' : ''}</b> on this page
90-
cannot display float data since they're not inspectable in-game (March 4, 2026 update). Valve pls fix.
89+
<b>${this.buggedSkinCount} skin${this.buggedSkinCount > 1 ? 's' : ''}</b> on this page cannot display
90+
float data since they're not inspectable in-game (March 4, 2026 update). Valve pls fix.
9191
</div>
9292
`;
9393
}

src/lib/types/steam.d.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@ export interface rgDescription {
7171
}[];
7272
}
7373

74-
type RequireOnlyOne<T, Keys extends keyof T = keyof T> =
75-
Pick<T, Exclude<keyof T, Keys>>
76-
& {
77-
[K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, never>>
78-
}[Keys];
74+
type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> &
75+
{
76+
[K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, never>>;
77+
}[Keys];
7978

8079
interface rgAssetPropertyBase {
8180
propertyid: number;
@@ -85,10 +84,7 @@ interface rgAssetPropertyBase {
8584
}
8685

8786
// Only one of int_value, float_value, or string_value can be present
88-
type rgAssetProperty = RequireOnlyOne<
89-
rgAssetPropertyBase,
90-
'int_value' | 'float_value' | 'string_value'
91-
>;
87+
type rgAssetProperty = RequireOnlyOne<rgAssetPropertyBase, 'int_value' | 'float_value' | 'string_value'>;
9288

9389
// g_rgAssets
9490
export interface rgAsset extends rgDescription {

0 commit comments

Comments
 (0)