Skip to content

Enable strict mode #536

Closed
Closed
@daboudii

Description

@daboudii

After reading this Angular blog post, I thought it would be nice to make your starter app in strict mode.

Describe the feature you'd like:

Enable stricter type checking in tsconfig.json:

  • strictPropertyInitialization
  • strictNullChecks
  • noImplicitAny
  • strictBindCallApply
  • strictFunctionTypes

Reduce Bundle Budgets:

  • 500KB warning and 1MB error budget for the initial JavaScript we send to the browser
  • 2KB warning and 4KB error budget for the styles of any component

Other information:

"strictBindCallApply": true, do not cause compilation errors.
the rest of them does fail compilation.

I would be willing to submit a PR to fix this issue:

[] Yes (Assistance is provided if you need help submitting a pull request)
[x] No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions