Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix: make Tag type usable #1871

Merged
merged 1 commit into from
Dec 20, 2021
Merged

fix: make Tag type usable #1871

merged 1 commit into from
Dec 20, 2021

Conversation

davidmurdoch
Copy link
Member

@davidmurdoch davidmurdoch commented Dec 20, 2021

The Tag enum type that we were using meant that the TS compiler didn't think Tag.LATEST === "latest" at compile time, even though it does at runtime. This PR updates Tag so it isn't an enum in order to make our Tag-related types work with the string "latest", "earliest", and "pending".

It also removes a .tgz file that was accidentally included in a previous PR.

@davidmurdoch davidmurdoch merged commit 8a1461a into develop Dec 20, 2021
@davidmurdoch davidmurdoch deleted the fix-type-Tag branch December 20, 2021 21:10
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants