Skip to content

Commit dbf8ee2

Browse files
committed
refactor(devtools): update type exports for CanonicalPageIssue and CanonicalPageData
This commit modifies the export statements for the CanonicalPageIssue and CanonicalPageData types in the SEO tab components, changing them from 'export type' to 'type'. This adjustment aims to streamline the code structure and improve consistency in type declarations across the module.
1 parent 4aee218 commit dbf8ee2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/devtools/src/tabs/seo-tab/canonical-url-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { SeoSeverity } from './seo-severity'
22

3-
export type CanonicalPageIssue = {
3+
type CanonicalPageIssue = {
44
severity: SeoSeverity
55
message: string
66
}
@@ -9,7 +9,7 @@ export type CanonicalPageIssue = {
99
* Canonical URL, robots, and basic URL hygiene derived from the current
1010
* document head and `window.location`.
1111
*/
12-
export type CanonicalPageData = {
12+
type CanonicalPageData = {
1313
currentUrl: string
1414
canonicalRaw: Array<string>
1515
canonicalResolved: Array<string>

packages/devtools/src/tabs/seo-tab/seo-severity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function pickSeverityClass<T>(
1010
return map[severity]
1111
}
1212

13-
export type SeoHealthTier = 'good' | 'fair' | 'poor'
13+
type SeoHealthTier = 'good' | 'fair' | 'poor'
1414

1515
/**
1616
* Buckets a 0–100 SEO health score for shared Good / Fair / Poor styling.

0 commit comments

Comments
 (0)