2023-03-17最近才看到的 Typescript 小技巧 感觉挺有意思的,TS 还可以这样搞 - A 页面使用某个 B 组件的 Props 类型,不用导出 B 组件的 Props Type - 使用 Exclude 可以排除某个类型(undefined、null 等)