mirror of
https://github.com/0x5eal/semver-luau.git
synced 2024-12-12 15:00:36 +00:00
refactor: add leading |
to error type union
This commit is contained in:
parent
42634a3b8c
commit
1fde6d2752
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue