Added an example from ReduxJS

This commit is contained in:
ajeffrey@roblox.com 2022-01-06 16:55:08 -06:00
parent 573b88d3ef
commit 92a90ee7b5

View file

@ -41,6 +41,8 @@ export type PromiseFor<T> = {
```
as discussed at the [Roblox DevForum](https://devforum.roblox.com/t/regression-with-genericrecursively-defined-types/1616647).
Examples like this are quite common in TypeScript code, for example in [ReduxJS](https://github.com/reduxjs/redux-thunk/blob/master/src/types.ts).
## Design
*This section to be filled in once we decide which alternative to use*