File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ export function parse(str: string, options: ParseOptions = {}): Token[] {
160160 const consumeText = ( ) : string => {
161161 let result = "" ;
162162 let value : string | undefined ;
163- // tslint:disable-next-line
164163 while ( ( value = tryConsume ( "CHAR" ) || tryConsume ( "ESCAPED_CHAR" ) ) ) {
165164 result += value ;
166165 }
@@ -399,7 +398,6 @@ export function regexpToFunction<P extends object = object>(
399398 const params = Object . create ( null ) ;
400399
401400 for ( let i = 1 ; i < m . length ; i ++ ) {
402- // tslint:disable-next-line
403401 if ( m [ i ] === undefined ) continue ;
404402
405403 const key = keys [ i - 1 ] ;
@@ -586,8 +584,7 @@ export function tokensToRegexp(
586584 const isEndDelimited =
587585 typeof endToken === "string"
588586 ? delimiterRe . indexOf ( endToken [ endToken . length - 1 ] ) > - 1
589- : // tslint:disable-next-line
590- endToken === undefined ;
587+ : endToken === undefined ;
591588
592589 if ( ! strict ) {
593590 route += `(?:${ delimiterRe } (?=${ endsWithRe } ))?` ;
You can’t perform that action at this time.
0 commit comments