Skip to content

Commit d840bc9

Browse files
chromyclaude
andcommitted
ref(issue-details): Fix remaining knip and TypeScript errors
Delete orphaned spec files for removed components and unexport internal-only functions/types that knip flagged as unused exports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 725c6dd commit d840bc9

File tree

6 files changed

+3
-616
lines changed

6 files changed

+3
-616
lines changed

static/app/components/archivedBox.spec.tsx

Lines changed: 0 additions & 78 deletions
This file was deleted.

static/app/components/events/interfaces/crashContent/exception/actionableItems.spec.tsx

Lines changed: 0 additions & 252 deletions
This file was deleted.

static/app/components/events/interfaces/crashContent/exception/actionableItemsUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {semverCompare} from 'sentry/utils/versions/semverCompare';
2727
const MINIFIED_DATA_JAVA_EVENT_REGEX_MATCH =
2828
/^(([\w$]\.[\w$]{1,2})|([\w$]{2}\.[\w$]\.[\w$]))(\.|$)/g;
2929

30-
export type ActionableItemTypes =
30+
type ActionableItemTypes =
3131
| JavascriptProcessingErrors
3232
| HttpProcessingErrors
3333
| GenericSchemaErrors

static/app/components/events/interfaces/crashContent/exception/useActionableItems.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const actionableItemsQuery = ({
3333
),
3434
];
3535

36-
export interface ActionableItemsResponse {
36+
interface ActionableItemsResponse {
3737
errors: ActionableItemErrors[];
3838
}
3939

@@ -43,7 +43,7 @@ interface UseActionableItemsProps {
4343
projectSlug: string;
4444
}
4545

46-
export function useActionableItems(props?: UseActionableItemsProps) {
46+
function useActionableItems(props?: UseActionableItemsProps) {
4747
return useApiQuery<ActionableItemsResponse>(
4848
props ? actionableItemsQuery(props) : ([''] as unknown as ApiQueryKey),
4949
{

0 commit comments

Comments
 (0)