File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
views/settings/components/settingsBreadcrumb Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ interface IndexRouteProps<Props = any> {
12
12
props ?: Props | undefined ;
13
13
}
14
14
15
- export interface RouteProps < Props = any > extends IndexRouteProps < Props > {
15
+ interface RouteProps < Props = any > extends IndexRouteProps < Props > {
16
16
children ?: React . ReactNode ;
17
17
path ?: string | undefined ;
18
18
}
Original file line number Diff line number Diff line change 1
- import type { RouteComponentProps , RouteProps } from 'sentry/types/legacyReactRouter' ;
1
+ import type { RouteComponentProps } from 'sentry/types/legacyReactRouter' ;
2
2
3
3
// TODO(ts): The `name` attribute doesn't appear on any of the react router route types
4
4
5
- export type RouteWithName = RouteProps & {
5
+ export interface RouteWithName {
6
6
name ?: string ;
7
- } ;
7
+ path ?: string ;
8
+ }
8
9
9
10
export type SettingsBreadcrumbProps = Pick < RouteComponentProps , 'route' | 'routes' > & {
10
11
isLast : boolean ;
You can’t perform that action at this time.
0 commit comments