typedRoutes(实验性)实验性支持静态类型链接。此功能需要使用应用路由器以及在你的项目中使用 TypeScript。 next.config.js/** @type {import('next').NextConfig} */ const nextConfig = { experimental: { typedRoutes: true, }, }; module.exports = nextConfig;Previousturbo (实验性)Nexttypescript