This commit is contained in:
Luca Casonato
2021-05-18 23:34:43 +02:00
parent 5720b67176
commit ebae5fab46
3 changed files with 5 additions and 5 deletions

View File

@@ -3,13 +3,13 @@ const fetch = require("node-fetch");
const GIT_HASH_RE = /^[0-9a-fA-F]{40}$/;
/**
/**
* @typedef VersionRange
* @property {string} range
* @property {boolean} isCanary
*/
/**
/**
* @typedef Version
* @property {string} version
* @property {boolean} isCanary
@@ -17,7 +17,7 @@ const GIT_HASH_RE = /^[0-9a-fA-F]{40}$/;
/**
* Parses the version from the user into a structure.
*
*
* @param {string | undefined} version
* @returns {VersionRange | null}
*/