File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import styles from './styles.module.scss';
66
77import { SmartLink } from '../smartLink' ;
88
9- export async function PlatformSdkDetail ( ) {
9+ export async function PlatformSdkDetail ( ) : Promise < JSX . Element | null > {
1010 const { rootNode, path} = serverContext ( ) ;
1111 const platformOrGuide = getCurrentPlatformOrGuide ( rootNode , path ) ;
1212 if ( ! platformOrGuide ) {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const activeLinkSelector = `.${styles.sidebar} .toc-item .active`;
2222
2323export const sidebarToggleId = styles [ 'navbar-menu-toggle' ] ;
2424
25- export async function Sidebar ( { path, versions} : SidebarProps ) {
25+ export async function Sidebar ( { path, versions} : SidebarProps ) : Promise < JSX . Element | null > {
2626 const rootNode = await getDocsRootNode ( ) ;
2727
2828 if ( isDeveloperDocs ) {
You can’t perform that action at this time.
0 commit comments