Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clinfc/types

TypeScript 类型推导
https://github.com/clinfc/types

Last synced: 8 days ago
JSON representation

TypeScript 类型推导

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
```