mirror of
https://github.com/0x5eal/semver-luau.git
synced 2025-03-04 11:11:39 +00:00
refactor: add leading |
to error type union
This commit is contained in:
parent
eaa744bb3c
commit
e429cb6f9b
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…
Add table
Reference in a new issue