Skip to content

Commit

Permalink
fix: correct broken import formatting (withastro#13058)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored Jan 24, 2025
1 parent c7f1366 commit 1a14b53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/clean-suns-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fixes broken type declaration
5 changes: 2 additions & 3 deletions packages/astro/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,8 @@ declare module 'astro:transitions/client' {
export type TransitionBeforeSwapEvent = import('./dist/virtual-modules/transitions-events.js').TransitionBeforeSwapEvent;
export const isTransitionBeforePreparationEvent: EventModule['isTransitionBeforePreparationEvent'];
export const isTransitionBeforeSwapEvent: EventModule['isTransitionBeforeSwapEvent'];
type TransitionSwapFunctionModule = typeof import(
'./dist/virtual-modules/transitions-swap-functions.js',
);
// biome-ignore format: bug
type TransitionSwapFunctionModule = typeof import('./dist/virtual-modules/transitions-swap-functions.js');
export const swapFunctions: TransitionSwapFunctionModule['swapFunctions'];
}

Expand Down

0 comments on commit 1a14b53

Please sign in to comment.