Sg
Sg
Thank you for your interest in this repo & the type theory behind TypeScript! However, unfortunately, i am too busy to translate the slides to English🥺. And the Chinese version...
You may try the versions of packages used in https://github.com/shuding/site/blob/master/package.json if you cannot see the code highlighting in blog theme.
``` ts type Responder = { text?: () => string; json?: () => string; secure?: boolean; }; type RequireAtLeastOne< ObjectType, KeysType extends keyof ObjectType = keyof ObjectType, > = KeysType...
```ts type Item = 'semlinker,lolo,kakuqo'; type Split< S extends string, Delimiter extends string, > = S extends `${infer A}${Delimiter}${infer B}` ? [A,...Split] : [S]; type ElementType = Split; // ["semlinker",...
```ts type Foo = { readonly a: number; readonly b: string; readonly c: boolean; }; type Mutable = {- readonly [K in Keys]: T[K] } & Omit; // 你的实现代码 const...
```ts type IsUnion = T extends U? ([T,U] extends [U,T] ? false: true) : never; ```
```ts type Reverse< T extends Array, R extends Array = [] > = T extends [infer A,... infer B]? Reverse : R type R0 = Reverse // [] type R1...
I would like to migrate all list test cases. Please assign this issue to me :)
我觉得string用话术更合适?
Strange fur is due to `stroke-dasharray` value, which cuts the whole circle into several pieces. And the blinking "gray pixels" is due to that the two rotating circle are not...