fix: update type & imports (#3638)
This pr is small fixed that update type declaration and import from codebase.
This commit is contained in:
@@ -42,7 +42,7 @@ export interface RouteResult<T> {
|
||||
|
||||
export interface Router<T> {
|
||||
add(
|
||||
method: Method | "OPTIONS" | "ALL",
|
||||
method: Method | "ALL",
|
||||
pathname: string,
|
||||
handlers: T[],
|
||||
): void;
|
||||
|
||||
Reference in New Issue
Block a user