Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clinfc/types
TypeScript 类型推导
https://github.com/clinfc/types
Last synced: 8 days ago
JSON representation
TypeScript 类型推导
- Host: GitHub
- URL: https://github.com/clinfc/types
- Owner: clinfc
- Created: 2022-05-21T05:22:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-14T13:11:12.000Z (over 2 years ago)
- Last Synced: 2023-03-09T05:21:37.100Z (over 1 year ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript 收藏
## useDataClassifiedExtraction
以下两种写法有何差异
```ts
type Result = O extends ArrayLike ? (P extends string | number ? Record: never) : never
``````ts
type Result = O extends ArrayLike ? Record: never
```