Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor for better type-checking #5644

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Refactor for better type-checking #5644

merged 1 commit into from
Oct 26, 2021

Commits on Oct 24, 2021

  1. Update tsconfig for better type-checking

    This change aims to improve type-checking and refactor `tsconfig.json`:
    
    - Add `noFallthroughCasesInSwitch`. This aims to prevent a *fallthrough* bug.
    - Add `noUnusedParameters`. This aims to improve readability. If you'd like to avoid the error, add a prefix `_`.
    - Remove `noImplicitThis` and `alwaysStrict`. These are enabled by `strict: true`.
    
    See <https://www.typescriptlang.org/tsconfig>
    ybiquitous committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    1b2d233 View commit details
    Browse the repository at this point in the history