docs/libs/typescript.js
function isIndependentMember(symbol) {
            if (symbol.declarations && symbol.declarations.length === 1) {
                var declaration = symbol.declarations[0];
                if (declaration) {
                    switch (declaration.kind) {
                        case 145 /* PropertyDeclaration */:
                        case 144 /* PropertySignature */:
                            return isIndependentVariableLikeDeclaration(declaration);
                        case 147 /* MethodDeclaration */:
                        case 146 /* MethodSignature */:
                        case 148 /* Constructor */:
                            return isIndependentFunctionLikeDeclaration(declaration);
                    }
                }
            }
            return false;
        }
function isIndependentMember(symbol) {
            if (symbol.declarations && symbol.declarations.length === 1) {
                var declaration = symbol.declarations[0];
                if (declaration) {
                    switch (declaration.kind) {
                        case 145 /* PropertyDeclaration */:
                        case 144 /* PropertySignature */:
                            return isIndependentVariableLikeDeclaration(declaration);
                        case 147 /* MethodDeclaration */:
                        case 146 /* MethodSignature */:
                        case 148 /* Constructor */:
                            return isIndependentFunctionLikeDeclaration(declaration);
                    }
                }
            }
            return false;
        }
function isIndependentMember ( symbol ) { if ( symbol . declarations && symbol . declarations . length === 1 ) { var declaration = symbol . declarations [ 0 ] ; if ( declaration ) { switch ( declaration . kind ) { case 145 /* PropertyDeclaration */ : case 144 /* PropertySignature */ : return isIndependentVariableLikeDeclaration ( declaration ) ; case 147 /* MethodDeclaration */ : case 146 /* MethodSignature */ : case 148 /* Constructor */ : return isIndependentFunctionLikeDeclaration ( declaration ) ; } } } return false ; }
Returns true if the class or interface member given by the symbol is free of "this" references. The function may return false for symbols that are actually free of "this" references because it is not feasible to perform a complete analysis in all cases. In particular, property members with types inferred from their initializers and function members with inferred return types are conservatively assumed not to be free of "this" references.
Returns true if the class or interface member given by the symbol is free of this references . The function may return false for symbols that are actually free of this references because it is not feasible to perform a complete analysis in all cases . In particular property members with types inferred from their initializers and function members with inferred return types are conservatively assumed not to be free of this references .