Better Next.js config type safety.

This commit is contained in:
Jayden Seric 2022-09-01 20:45:48 +10:00
parent 8f7dc4d74c
commit 90b601c400

View File

@ -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"],