sandstone icon indicating copy to clipboard operation
sandstone copied to clipboard

`TimeArgument` type could be more precise

Open GrantGryczan opened this issue 3 years ago • 1 comments

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).

GrantGryczan avatar Dec 16 '21 06:12 GrantGryczan

That's right! Didn't think about that. I'll change it.

TheMrZZ avatar Dec 19 '21 08:12 TheMrZZ