Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

Commented Issue: Fails to parse file with open-ended function argument [86]

$
0
0
If I run a test containing a function with an open-ended function Chutzpah fails to parse it and does not run.

function sum(...numbers: number[]) {
});

easy workaround : place that function in another file, or use a regular array instead
Comments: awesome!

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>