The global 'name' variable should be declared as a const of type 'never' #9850
Labels
Breaking Change
Would introduce errors in existing code
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
As discussed, the
name
global variable causes certain problems. We decided that it should be changed to aconst
with the typenever
.The text was updated successfully, but these errors were encountered: