File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -568,8 +568,6 @@ namespace ts {
568
568
* is created if `value` was appended.
569
569
* @param value The value to append to the array. If `value` is `undefined`, nothing is
570
570
* appended.
571
- * @param copyOnWrite Indicates whether to return a fresh array rather than modify the
572
- * existing array.
573
571
*/
574
572
export function append < T > ( to : T [ ] | undefined , value : T | undefined ) : T [ ] | undefined {
575
573
if ( value === undefined ) return to ;
Original file line number Diff line number Diff line change @@ -883,19 +883,6 @@ namespace ts {
883
883
return false ;
884
884
}
885
885
886
- export function getAllLabeledStatements ( node : LabeledStatement ) : { statement : Statement ; labeledStatements : LabeledStatement [ ] ; } {
887
- switch ( node . statement . kind ) {
888
- case SyntaxKind . LabeledStatement :
889
- const result = getAllLabeledStatements ( < LabeledStatement > node . statement ) ;
890
- if ( result ) {
891
- result . labeledStatements . push ( node ) ;
892
- }
893
- return result ;
894
- default :
895
- return { statement : < IterationStatement > node . statement , labeledStatements : [ node ] } ;
896
- }
897
- }
898
-
899
886
export function isFunctionBlock ( node : Node ) {
900
887
return node && node . kind === SyntaxKind . Block && isFunctionLike ( node . parent ) ;
901
888
}
You can’t perform that action at this time.
0 commit comments