File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22import { functionTypePrettyName } from " @src/utils/functions" ;
3- const funcType = ( Astro .locals .side ?? ' shared ' ) ;
3+ const funcType = Astro .locals .side ;
44---
55
66<div class ={ ` page-title-container type-${funcType } ` } >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
1111import { Icon } from " @astrojs/starlight/components" ;
1212
1313import NoteBox from " @src/components/NoteBox.astro" ;
14- import type { NotesType } from " @src/utils/types" ;
14+ import type { MetaItem , NotesType } from " @src/utils/types" ;
1515
1616import SeeAlsoSection from " @src/components/SeeAlsoSection.astro" ;
1717import CodeExamplesSection from " @src/components/CodeExamplesSection.astro" ;
@@ -70,9 +70,9 @@ if (Array.isArray(event.data.notes) && event.data.notes.length > 0) {
7070}
7171
7272const eventMeta = event .data .meta || [];
73- const changelogEntries = eventMeta .find ((m ) => m .changelog )?.changelog ?? [];
73+ const changelogEntries = eventMeta .find ((m : MetaItem ) => m .changelog )?.changelog ?? [];
7474const needsChecking =
75- eventMeta .find ((m ) => m .needs_checking )?.needs_checking ?? undefined ;
75+ eventMeta .find ((m : MetaItem ) => m .needs_checking )?.needs_checking ?? undefined ;
7676---
7777
7878 <StarlightPage
You can’t perform that action at this time.
0 commit comments