We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d7843c commit be882ddCopy full SHA for be882dd
1 file changed
src/types.ts
@@ -1,12 +1,16 @@
1
-// The following formats are valid:
2
-// - v1
3
-// - v1.2
4
-// - v1.2.3
+/**
+ * The following formats are valid:
+ * - v1
+ * - v1.2
5
+ * - v1.2.3
6
+ */
7
export type SemanticVersion =
8
| ExactSemanticVersion
9
| (string & { readonly __tag: unique symbol });
10
-// The following format is valid: v1.2.3
11
12
+ * The following format is valid: v1.2.3
13
14
export type ExactSemanticVersion = string & { readonly __tag: unique symbol };
15
16
export function isExactSemanticVersion(
0 commit comments