backend: Fix type errors in genId #191

Merged
norm merged 1 commit from Michcio/FoundKey-0x7f:genid-types into main 2022-10-10 18:57:04 +00:00
Contributor

I checked on NodeJS locally and Math.min was coercing the Dates to numbers,
I'm just making it more obvious (to the typechecker as well)

I checked on NodeJS locally and `Math.min` was coercing the Dates to numbers, I'm just making it more obvious (to the typechecker as well)
Michcio added 1 commit 2022-10-10 18:50:29 +00:00
backend: Fix type errors in genId
Some checks failed
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline failed
ci/woodpecker/push/test Pipeline failed
30faeb73d2
I checked on NodeJS locally and `Math.min` was coercing the Dates to numbers,
I'm just making it more obvious (to the typechecker as well)
norm merged commit 30faeb73d2 into main 2022-10-10 18:57:04 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#191
No description provided.