-
Notifications
You must be signed in to change notification settings - Fork 836
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
feat(backcompat): @types/node backcompat tests #1352
feat(backcompat): @types/node backcompat tests #1352
Conversation
@@ -13,6 +13,6 @@ | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
export function unrefTimer(timer: NodeJS.Timeout): void { | |||
export function unrefTimer(timer: NodeJS.Timer): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayurkale22 Are you aware of anything that would cause this to be an issue? This is the only change needed for this PR to go green.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Timer type exists specifically to have compatibility with older versions of node. This should be ok.
Codecov Report
@@ Coverage Diff @@
## master #1352 +/- ##
=======================================
Coverage 93.91% 93.91%
=======================================
Files 151 151
Lines 4615 4615
Branches 953 953
=======================================
Hits 4334 4334
Misses 281 281
|
…nto add-backcompat-tests
…nto add-backcompat-tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why all packages have license: UNLICENSED
?
…nto add-backcompat-tests
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Which problem is this PR solving?
Short description of the changes
npm run test:backcompat
/backwards-compatability/nodeXYZ
Backcompat tests will try to
tsc
a sample node app using different versions of@types/node
.