uid11

Results 6 issues of uid11

If I understand correctly the intended API of the `useEventCallback` custom hook, the `dependencies` array should contain all the dependencies of the `fn` callback itself (as in the standard `useCallback`...

CLA Signed

```ts type Tuple = readonly unknown[]; type Concat = [...T, ...U]; ```

answer
en
533

This solution seems too simple, but in my opinion, using the standard `Equal` function is the most correct way to create functions of the form `IsNever`, `IsAny`, `IsVoid`, and so...

answer
en
1042

```ts type Merge = { [K in keyof F | keyof S]: K extends keyof S ? S[K] : K extends keyof F ? F[K] : never; }; ```

answer
en
599

```ts type StrintToUnion = T extends `${infer Letter}${infer Rest}` ? Letter | StrintToUnion : never; ```

answer
en
531

```ts type AppendToObject = { [K in keyof T | U]: K extends keyof T ? T[K] : V; }; ```

answer
en
527