docs/libs/typescript.js
function getSuperCallAtGivenIndex(ctor, index) {
                if (!ctor.body) {
                    return undefined;
                }
                var statements = ctor.body.statements;
                if (!statements || index >= statements.length) {
                    return undefined;
                }
                var statement = statements[index];
                if (statement.kind === 202 /* ExpressionStatement */) {
                    return ts.isSuperCallExpression(statement.expression) ? statement : undefined;
                }
            }
function getSuperCallAtGivenIndex(ctor, index) {
                if (!ctor.body) {
                    return undefined;
                }
                var statements = ctor.body.statements;
                if (!statements || index >= statements.length) {
                    return undefined;
                }
                var statement = statements[index];
                if (statement.kind === 202 /* ExpressionStatement */) {
                    return ts.isSuperCallExpression(statement.expression) ? statement : undefined;
                }
            }
function getSuperCallAtGivenIndex ( ctor , index ) { if ( ! ctor . body ) { return undefined ; } var statements = ctor . body . statements ; if ( ! statements || index >= statements . length ) { return undefined ; } var statement = statements [ index ] ; if ( statement . kind === 202 /* ExpressionStatement */ ) { return ts . isSuperCallExpression ( statement . expression ) ? statement : undefined ; } }
Return the statement at a given index if it is a super-call statement
@param ctor a constructor declaration
@param index an index to constructor's body to check
Return the statement at a given index if it is a super - call statement