Skip to content

Commit ec5a78b

Browse files
Update cors.ts
fix syntax error
1 parent 64d5965 commit ec5a78b

File tree

1 file changed

+1
-1
lines changed
  • packages/convex-helpers/server

1 file changed

+1
-1
lines changed

packages/convex-helpers/server/cors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export type RouteSpecWithCors = RouteSpec & CorsConfig;
8888
*/
8989
export type CorsHttpRouter = {
9090
http: HttpRouter
91-
route: (routeSpec: RouteSpecWithCors): void;
91+
route: (routeSpec: RouteSpecWithCors) => void;
9292
};
9393

9494
/**

0 commit comments

Comments
 (0)