- Implicit Any errors should be disabled in .js even if
--noImplicitAny is set for the whole compilation.
- noImplicitThis inferences should be enabled, but errors disabled
- Similarly, inferences for
--strictNullChecks for null and undefined types should stay, but errors like Variable is used before being assigned or Object is possibly undefined should be disabled.
This allows for users to mix and match .ts and .js files, and enable strict checks for the .ts files without having errors in the .js file
--noImplicitAnyis set for the whole compilation.--strictNullChecksfornullandundefinedtypes should stay, but errors likeVariable is used before being assignedorObject is possibly undefinedshould be disabled.This allows for users to mix and match .ts and .js files, and enable strict checks for the .ts files without having errors in the .js file