Closed
Description
#22262 is pretty breaky, and the change is to be more spec compliant. To reduce how breaky the change is, we shouldn't report the error if it happens in a .d.ts
file, as there will be no associated emit - this way older .d.ts
files won't need to be updated just to remove trailing commas that we can actually handle just fine.