diff --git a/packages/console/src/pages/ApiResourceDetails/index.tsx b/packages/console/src/pages/ApiResourceDetails/index.tsx index aa489f376..e125296ae 100644 --- a/packages/console/src/pages/ApiResourceDetails/index.tsx +++ b/packages/console/src/pages/ApiResourceDetails/index.tsx @@ -26,7 +26,7 @@ import { useTheme } from '@/hooks/use-theme'; import * as detailsStyles from '@/scss/details.module.scss'; import * as styles from './index.module.scss'; -import type { ApiResourceDetailsOutletContext } from './types'; +import { ApiResourceDetailsOutletContext } from './types'; const ApiResourceDetails = () => { const { pathname } = useLocation(); @@ -132,7 +132,6 @@ const ApiResourceDetails = () => { { onResourceUpdated: (resource: Resource) => { void mutate(resource); }, - } as ApiResourceDetailsOutletContext + } satisfies ApiResourceDetailsOutletContext } />