Skip to content

Commit eb2e08c

Browse files
committed
refactor: use typescript for next.config.ts
1 parent 1ca7e56 commit eb2e08c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

next.config.js renamed to next.config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/** @type {import('next').NextConfig} */
2-
const nextConfig = {
1+
import type { NextConfig } from 'next';
2+
3+
const nextConfig: NextConfig = {
34
// logging: {
45
// fetches: {
56
// fullUrl: true,
@@ -22,4 +23,4 @@ const nextConfig = {
2223
},
2324
};
2425

25-
module.exports = nextConfig;
26+
export default nextConfig;

0 commit comments

Comments
 (0)