Skip to content

Commit 123d05e

Browse files
committed
Run lint.
1 parent 662f107 commit 123d05e

7 files changed

Lines changed: 7 additions & 9 deletions

File tree

‎packages/ts-common/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export type {
6363
SiteStyleConfigInput,
6464
} from './site-config-types'
6565
export type {
66-
PageOutlineItem,
6766
PageContext,
67+
PageOutlineItem,
6868
TsSsgNavigation,
6969
} from './ts-ssg-context'

‎packages/ts-common/src/resolvePageContext.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ export function resolvePageContext(head: unknown): PageContext {
2525
throw new Error('pageContext is not available in the Regor context stack.')
2626
}
2727

28-
export function tryResolvePageContext(
29-
head: unknown,
30-
): PageContext | undefined {
28+
export function tryResolvePageContext(head: unknown): PageContext | undefined {
3129
const stack = hasContextStack(head) && Array.isArray(head.ctx) ? head.ctx : []
3230
for (const ctx of stack) {
3331
if (!hasPageContext(ctx)) continue

‎packages/ts-components/src/standard/pageLinks/pageLinks.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {
2+
PageContext,
23
PageNavigationLink,
34
PageNavigationLinks,
4-
PageContext,
55
} from '@purestack/ts-common'
66
import { resolvePageContext } from '@purestack/ts-common'
77
import { defineComponent, html } from 'regor'

‎packages/ts-components/src/standard/pageToc/pageToc.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { PageOutlineItem, PageContext } from '@purestack/ts-common'
1+
import type { PageContext, PageOutlineItem } from '@purestack/ts-common'
22
import { resolvePageContext } from '@purestack/ts-common'
33
import type { SemanticTone } from '@purestack/ts-style'
44
import {

‎packages/ts-components/src/standard/topBar/topBar.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { SiteLogoConfig, PageContext } from '@purestack/ts-common'
1+
import type { PageContext, SiteLogoConfig } from '@purestack/ts-common'
22

33
import { resolvePageContext } from '@purestack/ts-common'
44
import type { SemanticTone } from '@purestack/ts-style'

‎packages/ts-components/src/test/testContext.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type {
2+
PageContext,
23
PageInfo,
34
PageOutlineItem,
45
SiteConfig,
5-
PageContext,
66
TsSsgNavigation,
77
} from '@purestack/ts-common'
88
import { DEFAULT_THEME_OPTIONS } from '@purestack/ts-style'

‎packages/ts-ssg/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
export type {
2+
PageContext,
23
PageFrontmatter,
34
PageInfo,
45
PageTemplate,
56
PageTemplateInput,
67
PageTemplateMap,
78
SiteConfig,
89
SiteConfigInput,
9-
PageContext,
1010
} from '@purestack/ts-common'
1111
export type {
1212
BuildContext,

0 commit comments

Comments
 (0)