As someone using cs-web-lib in my app it's confusing that parameters that I would naturally expect to be numbers are expected to be passed in as strings e.g. many of the items in
|
export interface Position { |
. See initial confusion at
DiamondLightSource/atlas#84 (comment).
Acceptance Criteria
- We can pass these values in as numbers
- If we must keep backwards compatibility we still allow strings but ideally I feel like they should be typed as just numbers
As someone using
cs-web-libin my app it's confusing that parameters that I would naturally expect to be numbers are expected to be passed in as strings e.g. many of the items incs-web-lib/src/types/position.ts
Line 8 in b307d18
Acceptance Criteria