Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Use ReadonlyArray for node arrays #399

Closed
wants to merge 1 commit into from

Conversation

bowenni
Copy link
Contributor

@bowenni bowenni commented Oct 19, 2017

TypeScript 2.5 (microsoft/TypeScript#17213) specified the NodeArray type to be readonly. This doesn't change the run-time behavior but will cause compile-time errors if compiling against ts2.5.
Changing types for node arrays to ReadonlyArray fixes the problem.

@msftclas
Copy link

msftclas commented Oct 19, 2017

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

❌ bowenni sign now
You have signed the CLA already but the status is still pending? Let us recheck it.

@HamletDRC
Copy link
Member

@bowenni can you please click the "sign now" button? It is a Contributor License Agreement.

@HamletDRC HamletDRC added this to the 5.0.2 milestone Dec 18, 2017
@HamletDRC HamletDRC closed this in 885fc33 Dec 18, 2017
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.

3 participants