Added NonEmptyArray to type utilities. Existed as an outstanding issue for a while that from what I can tell hasn't had a PR yet. Useful for ensuring your arrays are not empty if the expectation is to provide at least one item of a varying type.
Please let me know if any additional work is needed, hoping I've added where necessary!
Description
Added NonEmptyArray to type utilities. Existed as an outstanding issue for a while that from what I can tell hasn't had a PR yet. Useful for ensuring your arrays are not empty if the expectation is to provide at least one item of a varying type.
Please let me know if any additional work is needed, hoping I've added where necessary!
Cheers.
Related issues:
Checklist
For bugfixes:
For new features:
dts-jest