Skip to content

Commit

Permalink
fix: upgrade next.js and update types
Browse files Browse the repository at this point in the history
  • Loading branch information
aiji42 committed Oct 14, 2021
1 parent dfd60f1 commit 32cc8df
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 112 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"firebase": "^8.10.0",
"husky": "^7.0.2",
"jest": "^27.2.5",
"next": "^11.0.1",
"next": "^11.1.2",
"prettier": "^2.4.1",
"react": "^17.0.2",
"semantic-release": "^18.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/with-fortress.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NextConfig } from 'next/dist/next-server/server/config-shared'
import { NextConfig } from 'next/dist/server/config'
import { prepareFortressInspect } from './prepare-fortress-inspect'
import { makeRewrites } from './make-rewrites'
import { Fort, FortressFirebaseCredential } from './types'
Expand All @@ -15,7 +15,7 @@ export const withFortress =
firebase?: FortressFirebaseCredential
prepared?: boolean
}) =>
(config: Partial<NextConfig>): Partial<NextConfig> => {
(config: NextConfig): NextConfig => {
prepareFortressInspect(
[...new Set(forts.map(({ inspectBy }) => inspectBy))].filter(
(inspect) => inspect !== 'custom'
Expand Down
Loading

0 comments on commit 32cc8df

Please sign in to comment.