tslib outdated preventing the use of spread syntax? #1081
Unanswered
stephencweiss
asked this question in
Q&A
Replies: 2 comments
-
I also found this thread and am not sure if it's relevant: #659 |
Beta Was this translation helpful? Give feedback.
0 replies
-
It says in the document to use __spreadArray instead |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use a spread operator on an array in my TSDX library and am getting the following error:
The error in full:
For the most part it's impossible to tell that there's a problem - in fact, there is no problem when I run this application in the test app that comes with
TSDX
. However, when I consume the library, this function appears to fail in interesting ways (basically, I just get a blank object instead of any actual data - so no "failure", just not what i'd expect).I'm not particularly familiar with
tslib
, buttsdx
has the oldest version dependency ontslib
in my dependency graph. It's at 1.9.x and this function was installed at 1.10.x (source)A few questions:
tsdx
to1.10
+? (it's now on a 2.x release)Any other guidance is very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions