Transcript from the "Compiling in "loose mode"" Lesson
[00:00:26] Good example of this would be a function argument. So the way TypeScript infers things is kinda only in one direction. It's, only through receiving a value of some sort, and like passing that on. So, just to highlight this example here.
>> Mike North: This is an implicit any and even if down here, if I try to split it to try to give the clue that it might be a string, it still remains an implicit any.
[00:01:02] Because type information does not, the inference does not flow up from the point of usage to the argument. Some languages do that, this one does not. So functional arguments are placed where you're almost always gonna get an implicit any. The only case where you wouldn't is if it's a call back, and there's a specific type for that call back, and remember, we don't have to specify anything there.
[00:01:50] So you're gonna fix that kind of thing, being very careful to avoid changing any behavior, and that is one pull request. Make sure your tests have passed again, and merge that in.