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

fix(TSC): Fixing TSC errors. Fixes #3020 #3022

Merged
merged 1 commit into from
Nov 5, 2017

Conversation

davidkpiano
Copy link
Contributor

@davidkpiano davidkpiano commented Oct 30, 2017

Description: This fixes all the warnings output by running tsc at the project's root by adding types for node and mocha, and also fixing a TS4023 issue.

Related issue (if exists): #3020

@rxjs-bot
Copy link

Messages
📖

CJS: 1397.1KB, global: 756.2KB (gzipped: 120.9KB), min: 147.0KB (gzipped: 31.6KB)

Generated by 🚫 dangerJS

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.261% when pulling 01d1575 on davidkpiano:issue-3020 into 2f395da on ReactiveX:master.

@@ -16,10 +16,11 @@
"es2015.collection",
"es2015.promise",
"dom"
]
],
"types": ["mocha", "node"]
Copy link
Member

Choose a reason for hiding this comment

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

my other codebases does have types for these globals but didn't require this explicitly 🤔 any idea why it's needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably because you were declare-ing things like describe() and it() somewhere else; but hey, this seems like the right thing to do and it fixes the errors so... yeah, LGTY?

@kwonoj kwonoj merged commit be70534 into ReactiveX:master Nov 5, 2017
@kwonoj
Copy link
Member

kwonoj commented Nov 5, 2017

@davidkpiano I tried your PR with merged, and it actually doesn't work - I'm reverting currently merged one. You may able to try run tsc directly (not via npm script) on root of repo without any option to see what happens.

@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants