4 ms·
Why? This is exactly what type definition describes - an array of string or numbers. If you'd like to have an either array of strings or array of numbers, you'
by Horusiath 12y ago
Why? This is exactly what type definition describes - an array of string or numbers.
If you'd like to have an either array of strings or array of numbers, you'd type: Array<string>|Array<number>
- frowaway001 12y agoI think he meant that he would prefer not having to deal with an array where types are all over the place.