File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -568,8 +568,6 @@ namespace ts {
568568 * is created if `value` was appended.
569569 * @param value The value to append to the array. If `value` is `undefined`, nothing is
570570 * appended.
571- * @param copyOnWrite Indicates whether to return a fresh array rather than modify the
572- * existing array.
573571 */
574572 export function append < T > ( to : T [ ] | undefined , value : T | undefined ) : T [ ] | undefined {
575573 if ( value === undefined ) return to ;
Original file line number Diff line number Diff line change @@ -883,19 +883,6 @@ namespace ts {
883883 return false ;
884884 }
885885
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-
899886 export function isFunctionBlock ( node : Node ) {
900887 return node && node . kind === SyntaxKind . Block && isFunctionLike ( node . parent ) ;
901888 }
You can’t perform that action at this time.
0 commit comments