demo/typescript.js
function getEffectiveArgument(node, args, argIndex) {
            // For a decorator or the first argument of a tagged template expression we return undefined.
            if (node.kind === 139 /* Decorator */ ||
                (argIndex === 0 && node.kind === 170 /* TaggedTemplateExpression */)) {
                return undefined;
            }
            return args[argIndex];
        }
function getEffectiveArgument(node, args, argIndex) {
            // For a decorator or the first argument of a tagged template expression we return undefined.
            if (node.kind === 139 /* Decorator */ ||
                (argIndex === 0 && node.kind === 170 /* TaggedTemplateExpression */)) {
                return undefined;
            }
            return args[argIndex];
        }
Gets the effective argument expression for an argument in a call expression.