@@ -45,7 +45,7 @@ const getArray = (set) => [...set];
4545 * A convenience method used to sort chunks based on their id's
4646 * @param {ChunkGroup } a first sorting comparator
4747 * @param {ChunkGroup } b second sorting comparator
48- * @returns {1|0| -1 } a sorting index to determine order
48+ * @returns {1 | 0 | -1 } a sorting index to determine order
4949 */
5050const sortById = ( a , b ) => {
5151 if ( a . id < b . id ) return - 1 ;
@@ -56,7 +56,7 @@ const sortById = (a, b) => {
5656/**
5757 * @param {OriginRecord } a the first comparator in sort
5858 * @param {OriginRecord } b the second comparator in sort
59- * @returns {1| -1|0 } returns sorting order as index
59+ * @returns {1 | -1| 0 } returns sorting order as index
6060 */
6161const sortOrigin = ( a , b ) => {
6262 const aIdent = a . module ? a . module . identifier ( ) : "" ;
@@ -488,7 +488,7 @@ class ChunkGroup {
488488 * Sorting values are based off of number of chunks in ChunkGroup.
489489 * @param {ChunkGraph } chunkGraph the chunk graph
490490 * @param {ChunkGroup } otherGroup the chunkGroup to compare this against
491- * @returns {-1|0| 1 } sort position for comparison
491+ * @returns {-1 | 0 | 1 } sort position for comparison
492492 */
493493 compareTo ( chunkGraph , otherGroup ) {
494494 if ( this . chunks . length > otherGroup . chunks . length ) return - 1 ;
0 commit comments