Skip to content

Commit

Permalink
fix: fix wrong type declarations in client.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
uenoB committed Aug 6, 2024
1 parent 07b5bc8 commit a923ca5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/vite-plugin-minissg/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ declare module '*?hydrate' {
}

declare module '*?hydrate&render' {
const data: Record<string, import('./dist/index').Content>
export default data
const content: PromiseLike<import('./dist/index').Content>
export default content
}

declare module '*?render&doctype' {
Expand All @@ -35,6 +35,6 @@ declare module '*?render&doctype' {
}

declare module '*?hydrate&render&doctype' {
const data: Record<string, import('./dist/index').Content>
export default data
const content: PromiseLike<import('./dist/index').Content>
export default content
}

0 comments on commit a923ca5

Please sign in to comment.