noImplicitAny in tsconfig


#1

I would like to use the “noImplicitAny” option in tsconfig but whenever I enable it I get errors in my build. The errors come from the node_modules/tns-core-modules directory. It seems to be only the definition files that are causing a problem. For instance utils.d.ts.

Does anyone know some sort of workaround so I can build my project and keep noImplicitAny enabled?


#2

After additional searching I found an answer here: https://github.com/Microsoft/TypeScript/issues/18974

The solution is to add the skipLibCheck property to tsconfig.

"skipLibCheck": true