Skip to content

Commit a9c771a

Browse files
committed
fix eslint error
1 parent 688b4fc commit a9c771a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const stringifyIdSortPredicate = (a, b) => {
4646

4747
/**
4848
* @param {Module} module the module to compare against
49-
* @return {boolean} return true if module.id is equal to type "number"
49+
* @returns {boolean} return true if module.id is equal to type "number"
5050
*/
5151
const moduleIdIsNumber = module => {
5252
return typeof module.id === "number";
@@ -176,7 +176,7 @@ class Template {
176176
/**
177177
*
178178
* @param {Module[]} modules a collection of modules to get array bounds for
179-
* @return {[number, number] | false} returns the upper and lower array bounds
179+
* @returns {[number, number] | false} returns the upper and lower array bounds
180180
* or false if not every module has a number based id
181181
*/
182182
static getModulesArrayBounds(modules) {

0 commit comments

Comments
 (0)