tinytoml icon indicating copy to clipboard operation
tinytoml copied to clipboard

Make "typeToString()" public?

Open heyx3 opened this issue 6 years ago • 2 comments

It would be nice if my own code could access "typeToString()", for example when generating error messages in my own parsing code (e.x. Expected a 'string', but got 'table'). Is there a reason it was left private?

heyx3 avatar Feb 02 '20 20:02 heyx3

I didn't expect it's publicly used, but probably OK to expose it. (patch welcome 😃)

mayah avatar Feb 04 '20 08:02 mayah

Sure! I'll try to make one tonight.

heyx3 avatar Feb 04 '20 13:02 heyx3