> Every JS code is a valid TS, since TS is a superset of JS.
There are still cases where you'll need to sprinkle <any>. For example:
var state = { foo: 1 };
if(something) {
state.bar = 2;
}
is valid JS, but the TS compiler will complain that `state` does not have a member named `bar`.