blob: caed582cd76cfaed4421ce43040957097d61abfa [file] [log] [blame]
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/// <amd-module name="@angular/core/schematics/migrations/renderer-to-renderer2/migration" />
import * as ts from 'typescript';
import { HelperFunction } from './helpers';
/**
* Migrates a function call expression from `Renderer` to `Renderer2`.
* Returns null if the expression should be dropped.
*/
export declare function migrateExpression(node: ts.CallExpression, typeChecker: ts.TypeChecker): {
node: ts.Node | null;
requiredHelpers?: HelperFunction[];
};