短评 · ·

X 归档 2022-08-28

1 条动态 · 图 1 · 视频 0
@leerob14:18原推文
TypeScript 4.9 is going to be *huge* for @nextjs.

With the release of `satisfies`, you'll get improved type safety inside `getStaticProps`/`getStaticPaths`/`getServerSideProps` as well as inside Pages.

🤯
TypeScript 4.9 对 @nextjs 来说将是*重大利好*。

随着 `satisfies` 的发布,`getStaticProps`/`getStaticPaths`/`getServerSideProps` 以及 Pages 内部的类型安全性都会得到提升。

🤯
@leerob 的配图 1/1