Better Next.js config type safety.
This commit is contained in:
parent
8f7dc4d74c
commit
90b601c400
@ -1,8 +1,9 @@
|
||||
// @ts-check
|
||||
|
||||
/** @type {import("next").NextConfig} */
|
||||
export default {
|
||||
env: {
|
||||
API_URI: process.env.API_URI,
|
||||
API_URI: /** @type {string} */ (process.env.API_URI),
|
||||
},
|
||||
i18n: {
|
||||
locales: ["en-US"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user