Skip to content

Commit

Permalink
Group MDX typedefs in single flow expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Jun 25, 2024
1 parent 429d15f commit a6b399d
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 35 deletions.
16 changes: 9 additions & 7 deletions docs/blog/index.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{/**
* @import {Item} from '../_component/sort.js'
*/}
{
/**
* @import {Item} from '../_component/sort.js
*/

{/**
* @typedef Props
* @property {Item} navigationTree
*/}
/**
* @typedef Props
* @property {Item} navigationTree
*/
}

import assert from 'node:assert/strict'
import {BlogGroup} from '../_component/blog.jsx'
Expand Down
16 changes: 9 additions & 7 deletions docs/community/index.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{/**
* @import {Item} from '../_component/sort.js'
*/}
{
/**
* @import {Item} from '../_component/sort.js
*/

{/**
* @typedef Props
* @property {Item} navigationTree
*/}
/**
* @typedef Props
* @property {Item} navigationTree
*/
}

import assert from 'node:assert/strict'
import {NavigationGroup} from '../_component/nav.jsx'
Expand Down
16 changes: 9 additions & 7 deletions docs/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{/**
* @import {Item} from '../_component/sort.js'
*/}
{
/**
* @import {Item} from '../_component/sort.js
*/

{/**
* @typedef Props
* @property {Item} navigationTree
*/}
/**
* @typedef Props
* @property {Item} navigationTree
*/
}

import assert from 'node:assert/strict'
import {NavigationGroup} from '../_component/nav.jsx'
Expand Down
16 changes: 9 additions & 7 deletions docs/guides/index.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{/**
* @import {Item} from '../_component/sort.js'
*/}
{
/**
* @import {Item} from '../_component/sort.js
*/

{/**
* @typedef Props
* @property {Item} navigationTree
*/}
/**
* @typedef Props
* @property {Item} navigationTree
*/
}

import assert from 'node:assert/strict'
import {NavigationGroup} from '../_component/nav.jsx'
Expand Down
16 changes: 9 additions & 7 deletions docs/packages/index.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{/**
* @import {Item} from '../_component/sort.js'
*/}
{
/**
* @import {Item} from '../_component/sort.js
*/

{/**
* @typedef Props
* @property {Item} navigationTree
*/}
/**
* @typedef Props
* @property {Item} navigationTree
*/
}

import assert from 'node:assert/strict'
import {NavigationGroup} from '../_component/nav.jsx'
Expand Down

0 comments on commit a6b399d

Please sign in to comment.