@@ -339,7 +339,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
339339 | CursorWithSkipOptionsWithFilter < AST . Token >
340340 | CursorWithSkipOptionsWithComment < AST . Token , AST . Comment > ,
341341 ) : AST . Token | AST . Comment | null {
342- return this . tokenStore . getFirstToken ( node , options as never ) ;
342+ return this . tokenStore . getFirstToken ( node , options ) ;
343343 }
344344
345345 /**
@@ -373,7 +373,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
373373 | CursorWithCountOptionsWithFilter < AST . Token >
374374 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
375375 ) : ( AST . Token | AST . Comment ) [ ] {
376- return this . tokenStore . getFirstTokens ( node , options as never ) ;
376+ return this . tokenStore . getFirstTokens ( node , options ) ;
377377 }
378378
379379 /**
@@ -412,7 +412,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
412412 | CursorWithSkipOptionsWithFilter < AST . Token >
413413 | CursorWithSkipOptionsWithComment < AST . Token , AST . Comment > ,
414414 ) : ( AST . Token | AST . Comment ) | null {
415- return this . tokenStore . getLastToken ( node , options as never ) ;
415+ return this . tokenStore . getLastToken ( node , options ) ;
416416 }
417417
418418 /**
@@ -446,7 +446,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
446446 | CursorWithCountOptionsWithFilter < AST . Token >
447447 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
448448 ) : ( AST . Token | AST . Comment ) [ ] {
449- return this . tokenStore . getLastTokens ( node , options as never ) ;
449+ return this . tokenStore . getLastTokens ( node , options ) ;
450450 }
451451
452452 /**
@@ -480,7 +480,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
480480 | CursorWithSkipOptionsWithFilter < AST . Token >
481481 | CursorWithSkipOptionsWithComment < AST . Token , AST . Comment > ,
482482 ) : AST . Token | AST . Comment | null {
483- return this . tokenStore . getTokenBefore ( node , options as never ) ;
483+ return this . tokenStore . getTokenBefore ( node , options ) ;
484484 }
485485
486486 /**
@@ -514,7 +514,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
514514 | CursorWithCountOptionsWithFilter < AST . Token >
515515 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
516516 ) : ( AST . Token | AST . Comment ) [ ] {
517- return this . tokenStore . getTokensBefore ( node , options as never ) ;
517+ return this . tokenStore . getTokensBefore ( node , options ) ;
518518 }
519519
520520 /**
@@ -548,7 +548,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
548548 | CursorWithSkipOptionsWithFilter < AST . Token >
549549 | CursorWithSkipOptionsWithComment < AST . Token , AST . Comment > ,
550550 ) : AST . Token | AST . Comment | null {
551- return this . tokenStore . getTokenAfter ( node , options as never ) ;
551+ return this . tokenStore . getTokenAfter ( node , options ) ;
552552 }
553553
554554 /**
@@ -582,7 +582,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
582582 | CursorWithCountOptionsWithFilter < AST . Token >
583583 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
584584 ) : ( AST . Token | AST . Comment ) [ ] {
585- return this . tokenStore . getTokensAfter ( node , options as never ) ;
585+ return this . tokenStore . getTokensAfter ( node , options ) ;
586586 }
587587
588588 /**
@@ -620,7 +620,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
620620 | CursorWithSkipOptionsWithFilter < AST . Token >
621621 | CursorWithSkipOptionsWithComment < AST . Token , AST . Comment > ,
622622 ) : AST . Token | AST . Comment | null {
623- return this . tokenStore . getFirstTokenBetween ( left , right , options as never ) ;
623+ return this . tokenStore . getFirstTokenBetween ( left , right , options ) ;
624624 }
625625
626626 /**
@@ -658,7 +658,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
658658 | CursorWithCountOptionsWithFilter < AST . Token >
659659 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
660660 ) : ( AST . Token | AST . Comment ) [ ] {
661- return this . tokenStore . getFirstTokensBetween ( left , right , options as never ) ;
661+ return this . tokenStore . getFirstTokensBetween ( left , right , options ) ;
662662 }
663663
664664 /**
@@ -696,7 +696,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
696696 | CursorWithSkipOptionsWithFilter < AST . Token >
697697 | CursorWithSkipOptionsWithComment < AST . Token , AST . Comment > ,
698698 ) : AST . Token | AST . Comment | null {
699- return this . tokenStore . getLastTokenBetween ( left , right , options as never ) ;
699+ return this . tokenStore . getLastTokenBetween ( left , right , options ) ;
700700 }
701701
702702 /**
@@ -734,7 +734,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
734734 | CursorWithCountOptionsWithFilter < AST . Token >
735735 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
736736 ) : ( AST . Token | AST . Comment ) [ ] {
737- return this . tokenStore . getLastTokensBetween ( left , right , options as never ) ;
737+ return this . tokenStore . getLastTokensBetween ( left , right , options ) ;
738738 }
739739
740740 /**
@@ -768,7 +768,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
768768 | CursorWithCountOptionsWithFilter < AST . Token >
769769 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
770770 ) : ( AST . Token | AST . Comment ) [ ] {
771- return this . tokenStore . getTokens ( node , options as never ) ;
771+ return this . tokenStore . getTokens ( node , options ) ;
772772 }
773773
774774 /**
@@ -806,7 +806,7 @@ export class YAMLSourceCode extends TextSourceCodeBase<{
806806 | CursorWithCountOptionsWithFilter < AST . Token >
807807 | CursorWithCountOptionsWithComment < AST . Token , AST . Comment > ,
808808 ) : ( AST . Token | AST . Comment ) [ ] {
809- return this . tokenStore . getTokensBetween ( left , right , options as never ) ;
809+ return this . tokenStore . getTokensBetween ( left , right , options ) ;
810810 }
811811
812812 public getCommentsInside ( nodeOrToken : YAMLSyntaxElement ) : AST . Comment [ ] {
0 commit comments