File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ) ,
You can’t perform that action at this time.
0 commit comments