`getTextDimension` has incorrect type definition
chakflying opened this issue · 1 comments
chakflying commented
According to the code, the function should be able to handle input of type string, array of strings or number.
Lines 191 to 197 in f60dcfa
However, the type definition does not reflect this.
Lines 1051 to 1053 in f60dcfa
I also took a quick look at splitTextToSize() and it seems quite likely that the return type is string[]. I can help fix that as well if needed.