Open vobruba-martin opened 6 years ago
I've found the commit after which warnings appeared: cb0069aac5e743a9d450dd2c0de411c5055043b8
Why can't be NTI used anymore?
I've just updated our wiki page for NTI with an explanation for why it is gone.
https://github.com/google/closure-compiler/wiki/%5BOBSOLETE%5D-Using-NTI-(new-type-inference)
@brad4d Thank you for that! What about this issue? Will it be fixed?
This was implemented incorrectly in NTI. IObject is used to declare the "computed property operator". It can't be inferred. "Object<string,string>" is what you want here.
I didn't use the latest version of Closure Compiler for some time but I've upgraded to the latest version a I'm surprised by these warnings in my projects:
But if I force the type, warnings disapear.
Command line params: