Skip to content

Commit dad0a6b

Browse files
Mihir-MavalankarClaude Opus 4.6
andcommitted
fix(seer): Fix TypeScript error in BigNumber LLM context registration
Change BigNumberWidgetVisualizationProps from interface to type so it satisfies the Record<string, unknown> constraint in registerLLMContext. Structurally identical, no behavior change. Co-Authored-By: Claude Opus 4.6 <noreply@example.com>
1 parent cfa74f8 commit dad0a6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/views/dashboards/widgets/bigNumberWidget/bigNumberWidgetVisualization.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import {registerLLMContext} from 'sentry/views/seerExplorer/contexts/registerLLM
2424
import {DEEMPHASIS_VARIANT, LOADING_PLACEHOLDER} from './settings';
2525
import {ThresholdsIndicator} from './thresholdsIndicator';
2626

27-
interface BigNumberWidgetVisualizationProps {
27+
type BigNumberWidgetVisualizationProps = {
2828
field: string;
2929
value: number | string;
3030
maximumValue?: number;
@@ -33,7 +33,7 @@ interface BigNumberWidgetVisualizationProps {
3333
thresholds?: Thresholds;
3434
type?: TabularValueType;
3535
unit?: TabularValueUnit;
36-
}
36+
};
3737

3838
function BigNumberWidgetVisualizationInner(props: BigNumberWidgetVisualizationProps) {
3939
const {

0 commit comments

Comments
 (0)