mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix: remove unneeded <br> causing website build to fail (#1272)
This commit is contained in:
parent
b3dc3d64b2
commit
1c56b91b5a
@ -56,7 +56,7 @@ const x = createFoo((_) => 'hello')
|
||||
Here again, `x` is `unknown` instead of `string`.
|
||||
|
||||
<details>
|
||||
<summary>More about the inference (just for the people curious and interested in TypeScript)</summary><br>
|
||||
<summary>More about the inference (just for the people curious and interested in TypeScript)</summary>
|
||||
|
||||
In some sense this inference failure is not a problem because a value of type `<T>(f: (t: T) => T) => T` cannot be written. That is to say you can't write the real runtime implementation of `createFoo`. Let's try it:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user