Skip to content

Commit

Permalink
fix: remove unneeded <br> causing website build to fail (pmndrs#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisk-7777 authored Sep 8, 2022
1 parent b3dc3d6 commit 1c56b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 1c56b91

Please sign in to comment.