get type of array items
https://stackoverflow.com/questions/46376468/how-to-get-type-of-array-items
1 | type ARR = {a:number, b:number}[]; |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 AlMirai!
https://stackoverflow.com/questions/46376468/how-to-get-type-of-array-items
1 | type ARR = {a:number, b:number}[]; |