Skip to content

Commit

Permalink
fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed Feb 13, 2021
1 parent da414e9 commit 9054885
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/next/server/next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export class CustomServer {

async close() {
const server = await this.getServer()
// @ts-expect-error
await server.close()
await (server as any).close()
}

private createServer(
Expand Down

0 comments on commit 9054885

Please sign in to comment.