deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

ini file value type should constrain to possible allowed ini values

Open dsherret opened this issue 1 year ago • 2 comments

Right now it's unknown and any, but the allowed possible ini values are string, boolean, number, null, and undefined.

dsherret avatar May 21 '24 16:05 dsherret

I don't understand. Where are you seeing this?

iuioiua avatar May 22 '24 05:05 iuioiua

In places like:

https://github.com/denoland/std/blob/9253dcbd87912560da70d2d6954d2b60f203fd81/ini/_ini_map.ts#L56 https://github.com/denoland/std/blob/9253dcbd87912560da70d2d6954d2b60f203fd81/ini/parse.ts#L83 https://github.com/denoland/std/blob/9253dcbd87912560da70d2d6954d2b60f203fd81/ini/_ini_map.ts#L315

dsherret avatar Jul 30 '24 15:07 dsherret