Skip to content

Commit

Permalink
chore: fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
feugy committed Sep 12, 2022
1 parent db81016 commit 75fc85d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next/build/analysis/get-page-static-info.ts
Expand Up @@ -182,7 +182,9 @@ function getMiddlewareConfig(
matcher(glob)
} catch (err) {
throw new Error(
`A middleware/edge exported 'config.allowDynamic' is not a valid pattern: ${err.message}`
`A middleware/edge exported 'config.allowDynamic' is not a valid pattern: ${
(err as Error).message
}`
)
}
}
Expand Down

0 comments on commit 75fc85d

Please sign in to comment.