Skip to content

Commit

Permalink
Fix router implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinyaigeek committed Apr 19, 2024
1 parent 4ec3845 commit 283a9c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/modules/ssg-router/src/router/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ export class Router implements BasicRouter {
> = new Map();
private onRoutedPlugins: Set<
(path: string, generate?: GenerateHandler, output?: OutputHandler) => void
>;
private onGeneratedPlugins: Set<(path: string, content: string) => void>;
private onOutputPlugins: Set<(path: string) => void>;
> = new Set();
private onGeneratedPlugins: Set<(path: string, content: string) => void> =
new Set();
private onOutputPlugins: Set<(path: string) => void> = new Set();

on(
path: string,
Expand Down

0 comments on commit 283a9c6

Please sign in to comment.