import type { NextConfig } from 'next' const nextConfig: NextConfig = { typescript: { tsconfigPath: 'myconfig.json', }, } export default nextConfig