Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhsuresh committed May 30, 2023
1 parent 63ee942 commit 6716206
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
. "$(dirname "$0")/_/husky.sh"

pnpm manypkg check
pnpm lint
# pnpm lint
pnpm pretty-quick --staged
4 changes: 2 additions & 2 deletions packages/blitz-rpc/src/server/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {createServerPlugin} from "blitz"
import {RequestMiddleware, createServerPlugin} from "blitz"
import {invoke} from "../client/invoke"

export const RpcServerPlugin = createServerPlugin(() => {
return {
requestMiddlewares: [],
requestMiddlewares: [] as RequestMiddleware<any, any, void | Promise<void>>[],
exports: () => ({
invoke,
}),
Expand Down

0 comments on commit 6716206

Please sign in to comment.