Closed GrantGryczan closed 1 year ago
Instead of number | LiteralUnion<'1t' | '1s' | '1d'>, it could be number | `${number}${'t' | 's' | 'd'}` (or something equally restrictive that still includes '1t', '1s', and '1d' as auto-complete options).
number | LiteralUnion<'1t' | '1s' | '1d'>
number | `${number}${'t' | 's' | 'd'}`
'1t'
'1s'
'1d'
That's right! Didn't think about that. I'll change it.
Instead of
number | LiteralUnion<'1t' | '1s' | '1d'>
, it could benumber | `${number}${'t' | 's' | 'd'}`
(or something equally restrictive that still includes'1t'
,'1s'
, and'1d'
as auto-complete options).