doc(compartment-mapper): Clarify type of canonical
MODIFY
packages/compartment-mapper/src/types.js
packages/compartment-mapper/src/types.js
*/
/**
+ * Returns a canonical URL for a given URL, following redirects or symbolic
+ * links if any exist along the path.
+ * Must return the given logical location if the real location does not exist.
+ *
* @callback CanonicalFn
* @param {string} location
* @returns {Promise<string>} canonical location

doc(compartment-mapper): Clarify type of canonical