Skip to content

Commit

Permalink
chore: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
KeJunMao committed Jul 29, 2023
1 parent 8429429 commit 26963ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/customBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export async function getRouteSfcBlock(path: string): Promise<SFCBlock | undefin
return blockStr
}

export async function getRouteBlock(path: string, blockStr?: SFCBlock, options: ResolvedOptions): Promise<CustomBlock | undefined> {
export async function getRouteBlock(path: string, blockStr: SFCBlock | undefined, options: ResolvedOptions): Promise<CustomBlock | undefined> {
if (!blockStr)
return
return parseCustomBlock(blockStr, path, options)
Expand Down

0 comments on commit 26963ad

Please sign in to comment.