-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Domain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
TypeScript Version: 3.8.3
Search Terms:
diagnostic messages full stop period
Code
declare const v: void
// An expression of type 'void' cannot be tested for truthiness
if (v) { }
// All type parameters are unused
class C<T, U> {
static x: any
static #x: any
// Private identifiers cannot be used as parameters
constructor(#x: any) {
// Property 'x' is a static member of type 'C<T, U>'
this.x
}
}
Expected behavior:
Error messages should have a full stop/period at the end as per the guidelines. I fixed these as well as some other messages here.
Actual behavior:
No full stop.
Playground Link:
link
Related Issues:
none
Metadata
Metadata
Assignees
Labels
Domain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript