OptionallevelThe level of messages to log (default: 'suggestion').
suggestion: logs all messageswarning: logs only warning and error messageserror: logs only error messagesOptionalstrictReport warnings as errors. This runs before level filters the result, which means that if
level is set to 'error', all warnings (elevated as errors) will still be reported.
Construct a type with the properties of T except for those in type K.