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

Enables strict mode on microchassis #29

Merged
merged 3 commits into from
Dec 1, 2017
Merged

Conversation

mishok13
Copy link
Contributor

@mishok13 mishok13 commented Nov 30, 2017

This pull request enables 100% strict mode. The following changes were done to enable this:

  • Use of Config object is wrapped with <any> casts
  • Stub typings introduced for gRPC module in vendor.d.ts
  • Compiler options were re-generated using tsc --init
  • Explicit any added everywhere where type declaration was omitted otherwise

To further address the issues I have created two tickets for 0.7 milestone:

src/health.ts Outdated

public registerCheck(name: string, check) {
public registerCheck(name: string, check: any) {
Copy link
Contributor

@rthewhite rthewhite Nov 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check should be of the type Observable<boolean>

@coveralls
Copy link

Coverage Status

Coverage increased (+3.0%) to 61.528% when pulling ff4490b on strict-type-checks into 86d6c8c on master.

@rthewhite rthewhite merged commit 402351a into master Dec 1, 2017
@rthewhite rthewhite deleted the strict-type-checks branch December 1, 2017 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants