Skip to content

Commit

Permalink
context is always defined here, remove unnecessary ?
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcelhaney committed Jan 25, 2024
1 parent 530aa1b commit d91a7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/context-registry.ts
Expand Up @@ -17,7 +17,7 @@ export class ContextRegistry {
this.add("/", {});
}

public add(path: string, context?: Context): void {
public add(path: string, context: Context): void {
this.entries.set(path, context);
}

Expand Down

0 comments on commit d91a7b9

Please sign in to comment.