#Why are properties still optional in Required<T>?
4 messages · Page 1 of 1 (latest)
you don't have exactOptionalPropertyTypes enabled
i don't think that matters here. the issue is how T can be a subtype of HasOptionalFields. for example this is a legal call given your definition:
fn({ field: 1 })
oh, yeah