Comment on page
This section provides TypeScript-specific tips & tricks for you to make the best out of the ecosystem.
--strictcompiler flag was introduced in TypeScript 2.3 which activates TypeScript's "strict mode". The strict mode sets all strict typechecking options to
As of TypeScript 2.7, the affected options are:
Starting from version 2.0 of the starter kit, we've enabled the
tsconfig.json. If this gives you compile time errors, you can try setting
false, or by overriding one or more of the options listed above.
We've made some changes to these rules, which we considered necessary and/or relevant to a proper Screeps project:
If you believe that some rules should not apply to a part of your code (e.g. for one-off cases like having to use
require()to include a module), you can use flags to let ESLint know about it: https://eslint.org/docs/user-guide/configuring/rules#disabling-rules