|
|
|
|
|
by acchow
665 days ago
|
|
For your linked example… It has documentation > This type helper makes the 2nd function param required if params/requestBody are required; otherwise, optional The type here is the implementation not the documentation. I guess we are so used to types being the documentation, which they are for value/function level programming, but not in type level programming. I think maybe you are disappointed at the tooling? I do think the docs here should be attached to the type so that it appears in the IDE as well. |
|