UNPKG

@angular/core

Version:

Angular - the core framework

19 lines (18 loc) 702 B
/** * @license * Copyright Google Inc. 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/undecorated-classes-with-decorated-fields/update_recorder" /> import * as ts from 'typescript'; import { ImportManagerUpdateRecorder } from '../../utils/import_manager'; /** * Update recorder interface that is used to transform source files * in a non-colliding way. */ export interface UpdateRecorder extends ImportManagerUpdateRecorder { addClassDecorator(node: ts.ClassDeclaration, text: string): void; commitUpdate(): void; }