tc39 / tc39/proposal-amount

How to represent absence of unit?

Open
#99 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
58
Forks
12
Avg merge
2h 35m
Merged PRs (30d)
2

Description

Some options: undefined, null, empty string "" (if multiple options are accepted, then one will likely still need to be privileged as canonical)

Note that accepting undefined has big implications for TC39 Intl Unit Protocol, and that empty string has implications for TypeScript.

Other possibly related issues: #97, #78

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the discussion in issue #99, then review related issues #97 and #78 and the linked TC39 Intl Unit Protocol comment. The work is complete when the project has a decided canonical representation for absence of a unit and its implications for TypeScript and the protocol are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.