File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -1338,9 +1338,9 @@ function extension(combined, extension) {
13381338function combineHandles ( left , right ) {
13391339 if ( ! left ) return right
13401340
1341- return function ( ...params ) {
1342- const rightResult = right . apply ( this , params )
1343- return rightResult === false ? left . apply ( this , params ) : rightResult
1341+ return function ( ...parameters ) {
1342+ const rightResult = right . apply ( this , parameters )
1343+ return rightResult === false ? left . apply ( this , parameters ) : rightResult
13441344 }
13451345}
13461346
Original file line number Diff line number Diff line change @@ -229,7 +229,10 @@ export type Handles = Record<string, Handle>
229229 * Nothing, if the token was fully handled by this extension and should be ignored by previous extensions / default logic.
230230 * Or `false`, if the token has not been handled by this extension and handling should fall back to preceding logic.
231231 */
232- export type Handle = ( this : CompileContext , token : Token ) => undefined | void | false
232+ export type Handle = (
233+ this : CompileContext ,
234+ token : Token
235+ ) => undefined | void | false
233236
234237/**
235238 * Handle the case where the `right` token is open, but it is closed (by the
Original file line number Diff line number Diff line change @@ -249,8 +249,9 @@ Handle a token (TypeScript type).
249249###### Returns
250250
251251Nothing, if the token was fully handled and should be ignored by previous
252- extensions / default logic. Or ` false ` , if the token has not been handled here
253- and the parser should fall back to preceding logic.
252+ extensions / default logic.
253+ Or ` false ` , if the token has not been handled here and the parser should fall
254+ back to preceding logic.
254255
255256### ` OnEnterError `
256257
You can’t perform that action at this time.
0 commit comments