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) {
1338
1338
function combineHandles ( left , right ) {
1339
1339
if ( ! left ) return right
1340
1340
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
1344
1344
}
1345
1345
}
1346
1346
Original file line number Diff line number Diff line change @@ -229,7 +229,10 @@ export type Handles = Record<string, Handle>
229
229
* Nothing, if the token was fully handled by this extension and should be ignored by previous extensions / default logic.
230
230
* Or `false`, if the token has not been handled by this extension and handling should fall back to preceding logic.
231
231
*/
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
233
236
234
237
/**
235
238
* 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).
249
249
###### Returns
250
250
251
251
Nothing, 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.
254
255
255
256
### ` OnEnterError `
256
257
You can’t perform that action at this time.
0 commit comments