Has anyone ever come across this syntax before?
interface User {
id: ?string;
}
This^ is specifically resolving to string | null, but it's not legal TS?
This only works in .d.ts files, and in regular .ts files it appropriately has the error.
ChatGPT seems to think that d.ts files are more loose and can support older features of TS, but haven't found any info online that actually supports this.