|
|
|
|
|
by shadowgovt
1085 days ago
|
|
Generally (at least if we're talking typescript and vscode), the IDE serves as a REPL UI for the type system. You don't have to compile in your head; you can declare a variable or assignment with some type property and see where an error is thrown. |
|
I've seen quite a few cases where IDE's type expansion (whether on hover or in type errors) would result in a dozen lines of nested types. Worse than no documentation at all.