From 1fde6d275296547dd457e227fe058f1540e49cf0 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 10 Nov 2024 20:37:57 +0530 Subject: [PATCH] refactor: add leading `|` to error type union --- lib/init.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.luau b/lib/init.luau index cc785cd..a2b44d7 100644 --- a/lib/init.luau +++ b/lib/init.luau @@ -72,7 +72,7 @@ export type SemverError = { } export type SemverErrorKind = ParseError | {} export type ParseError = - { id: "MandatoryComponentMissing", components: { string } } + | { id: "MandatoryComponentMissing", components: { string } } | { id: "InvalidComponentType", component: "major" | "minor" | "patch",