2022-10-05

🔗
  • We have a fair amount of legacy code at work which we're slowly converting to modernity, and one aspect of that is making Typescript pass in strict mode. I've found it useful to enable strict mode in the main tsconfig.json, while using a second tsconfig file to actually build the project that extends from the main file but turns off strict mode. This way we can still run checks and get the full set of diagnostics when developing, while allowing the build to still pass.
  • Links