Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Nov 20, 2024
1 parent fa9b3f3 commit 076753d
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 162 deletions.
8 changes: 4 additions & 4 deletions docs/components/Sidebar/SidebarLinkBlock.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
import SidebarLink from './SidebarLink.astro'
import Typography from '../Typography.astro'
interface Link {
interface Props {
class?: string
title: string
links: Link[]
url: string
}
interface Props {
class?: string
interface Link {
title: string
links: Link[]
url: string
}
Expand Down
4 changes: 2 additions & 2 deletions docs/components/TableOfContents/TableOfContents.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ interface Heading {
text: string
}
type HeadingWithSubheadings = { subheadings: Heading[] } & Heading
interface Props {
headings?: Heading[] | undefined
}
type HeadingWithSubheadings = { subheadings: Heading[] } & Heading
let { headings } = Astro.props
let buildToc = (headingsValues?: Heading[]): HeadingWithSubheadings[] => {
Expand Down
12 changes: 6 additions & 6 deletions docs/components/TableOfContents/TableOfContentsHeading.astro
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
import Typography from '../Typography.astro'
interface Heading {
depth: number
slug: string
text: string
}
interface Props {
heading: {
subheadings?: Heading[]
} & Heading
}
interface Heading {
depth: number
slug: string
text: string
}
let { heading } = Astro.props
---

Expand Down
2 changes: 1 addition & 1 deletion docs/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'astro/astro-jsx'

declare global {
namespace JSX {
type Element = HTMLElement
type IntrinsicElements = astroHTML.JSX.IntrinsicElements
type Element = HTMLElement
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@astrojs/mdx": "^3.1.9",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/svelte": "^6.0.1",
"@azat-io/eslint-config": "^2.1.2",
"@azat-io/eslint-config": "^2.2.0",
"@azat-io/stylelint-config": "^0.1.1",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
Expand All @@ -69,7 +69,7 @@
"@poppanator/sveltekit-svg": "5.0.0",
"@shikijs/transformers": "^1.23.1",
"@types/mdast": "^4.0.4",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"@types/unist": "^3.0.3",
"@typescript-eslint/parser": "^8.15.0",
"@typescript-eslint/rule-tester": "^8.15.0",
Expand Down
Loading

0 comments on commit 076753d

Please sign in to comment.