Closed
Description
There are a handful of functions from lib.d.ts which are typically followed by a type assertion
const x = <HTMLDivElement>document.getElementById('zzz');
With the new inference changes, we can write a new overload
getElementById<T extends Element>(id: string): T
so that you can write the cleaner version
const x: HTMLDivElement = document.getElementById('zzz');
TODO: Figure out which functions these apply to