Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Jul 12, 2024
1 parent cea821c commit 89f782a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler/src/shared/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface TransformOptions {
*/
as?: 'document' | 'fragment';
transitionsAnimationURL?: string;
resolvePath?: (specifier: string) => Promise<string>;
resolvePath?: (specifier: string) => Promise<string> | string;
preprocessStyle?: (
content: string,
attrs: Record<string, string>
Expand Down

0 comments on commit 89f782a

Please sign in to comment.