From 3f77d74038441f8f3d7f366b6cc2ef49131e180c Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 17 Dec 2024 15:49:00 +0000 Subject: [PATCH] feat: bring back leading `|` --- lib/init.luau | 2 +- rokit.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/init.luau b/lib/init.luau index 6cc1576..592b601 100644 --- a/lib/init.luau +++ b/lib/init.luau @@ -145,7 +145,7 @@ export type SemverErrorKind = ParseError | {} * `InvalidPrereleaseOrdinalType`: When prerelease ordinal is not a number ]=] export type ParseError = - { id: "MandatoryComponentMissing", components: { string } } + | { id: "MandatoryComponentMissing", components: { string } } | { id: "InvalidComponentType", component: "major" | "minor" | "patch", diff --git a/rokit.toml b/rokit.toml index 5152f41..fd713ba 100644 --- a/rokit.toml +++ b/rokit.toml @@ -1,4 +1,4 @@ [tools] lune = "lune-org/lune@0.8.9" -stylua = "JohnnyMorganz/StyLua@2.0.1" +stylua = "JohnnyMorganz/StyLua@2.0.2" luau-lsp = "JohnnyMorganz/luau-lsp@1.35.0"