7 ms·
Just changing the file extension from js to ts will often bring out bugs in your code. The type inference will often catch things. Functions that are declared m
by swax 10y ago
Just changing the file extension from js to ts will often bring out bugs in your code. The type inference will often catch things. Functions that are declared multiple types or that have duplicate parameters, and a lot of other stuff will be caught.