Bug Report
๐ Search Terms
๐ Version & Regression Information
Happens in both versions 4.2.3 and 4.3.0-beta
โฏ Playground Link
Playground link with relevant code
๐ป Code
const s = new Set<string>();
s.values().next().value;
๐ Actual behavior
Type of value is any.
๐ Expected behavior
Type of value should probably be string | undefined or something.