You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since lib.d.ts is generated from IE definitions, I guess it's entirely possible that the compiler is not even aware there's a name property.
The interesting question is, once it has been added per ES6, how should the compiler handle unwritable properties in general? Would getters/setters be added to interfaces?
@billccn is correct the name declaration is comming from lib.d.ts, and you can edit the file to remove the definition. Also see #1351 for removing these properties from the library file.
Based on this issue:
Can the transpiler warn you if something like this happens?
The text was updated successfully, but these errors were encountered: