File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -855,26 +855,6 @@ namespace ts {
855
855
return createNodeArray ( concatenate ( statements , declarations ) , /*location*/ statements ) ;
856
856
}
857
857
858
- /**
859
- * Tries to lift a NodeArrayNode to a Node. This is primarily used to
860
- * lift multiple statements into a single Block.
861
- *
862
- * @param node The visited Node.
863
- * @param options Options used to control lift behavior.
864
- */
865
- function liftNode ( node : Node , lifter : ( nodes : NodeArray < Node > ) => Node ) : Node {
866
- if ( node === undefined ) {
867
- return undefined ;
868
- }
869
- else if ( isNodeArrayNode ( node ) ) {
870
- const lift = lifter || extractSingleNode ;
871
- return lift ( node . nodes ) ;
872
- }
873
- else {
874
- return node ;
875
- }
876
- }
877
-
878
858
/**
879
859
* Lifts a NodeArray containing only Statement nodes to a block.
880
860
*
You can’t perform that action at this time.
0 commit comments