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