Annotate param with jsdoc type

This commit is contained in:
Matt Bierner 2018-02-26 17:46:25 -08:00
parent 68c21cde76
commit cfcc5c8121

View file

@ -167,6 +167,9 @@
}
}
/**
* @param {number} offset
*/
function getEditorLineNumberForPageOffset(offset) {
const { previous, next } = getLineElementsAtPageOffset(offset);
if (previous) {