deno_std
deno_std copied to clipboard
ini file value type should constrain to possible allowed ini values
Right now it's unknown and any, but the allowed possible ini values are string, boolean, number, null, and undefined.
I don't understand. Where are you seeing this?
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