【发布时间】:2022-01-14 02:31:05
【问题描述】:
我刚开始在 Next 中使用 TypeScript。这是做什么的?
import { NextPage } from 'next';
export const Page: NextPage = () => {}
我查看了文档,但它确实很好地解释了它的作用。
我猜它路由页面的名称。 有人可以解释一下这是做什么的吗?
谢谢。
【问题讨论】:
标签: javascript reactjs typescript next.js tsx