Skip to content

Commit 8d03cf7

Browse files
committed
lint new issues
1 parent 70a6a4b commit 8d03cf7

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

ts/input/tex/FilterUtil.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ const FilterUtil = {
316316

317317
/**
318318
* Removes unneeded mstyle elements that just set the scriptlevel
319+
*
320+
* @param {object} arg The argument object.
321+
* @param {ParseOptions} arg.data The parse options.
319322
*/
320323
checkScriptlevel(arg: { data: ParseOptions }) {
321324
const options = arg.data;

ts/input/tex/newcommand/NewcommandMethods.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ const NewcommandMethods: { [key: string]: ParseMethod } = {
262262
(parser.stack.global['beginEnv'] as number)--;
263263
if (edef) {
264264
// Parse the commands in the end environment definition.
265-
let rest = parser.string.slice(parser.i);
265+
const rest = parser.string.slice(parser.i);
266266
parser.string = ParseUtil.addArgs(
267267
parser,
268268
parser.string.substring(0, parser.i),

0 commit comments

Comments
 (0)