Typescript doesn't directly, but Angular2 does (or will, this is just coming online) - our offline compiler converts your html templates into TS, and then regular TS typechecking can take over.
See https://github.com/microsoft/typescript/issues/6508 (and the GIF!)