/** * Shorthand `extends` check. */ export type Assert = T extends U ? T : never