mirror of
https://github.com/0x5eal/semver-luau.git
synced 2025-01-05 21:49:08 +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 SemverErrorKind = ParseError | {}
|
||||||
export type ParseError =
|
export type ParseError =
|
||||||
{ id: "MandatoryComponentMissing", components: { string } }
|
| { id: "MandatoryComponentMissing", components: { string } }
|
||||||
| {
|
| {
|
||||||
id: "InvalidComponentType",
|
id: "InvalidComponentType",
|
||||||
component: "major" | "minor" | "patch",
|
component: "major" | "minor" | "patch",
|
||||||
|
|
Loading…
Reference in a new issue