tc39 / proposal-intl-duration-format

https://tc39.es/proposal-intl-duration-format
MIT License
165 stars 18 forks source link

Editorial: DurationSign should return a spec enum, not an integer #208

Closed michaelficarra closed 2 months ago

michaelficarra commented 2 months ago

Per 262 conventions, we use spec enums for these kinds of cases. I would replace -1 with ~negative~, 1 with ~positive~, and 0 with ~all-zero~ or something like that.

michaelficarra commented 2 months ago

I forgot that this was a 402 proposal, so feel free to ignore.