angular/modules/@angular/compiler/src/i18n/serializers/serializer.ts
2016-07-29 13:40:58 -07:00

17 lines
No EOL
509 B
TypeScript

/**
* @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
*/
import * as html from '../../html_parser/ast';
import * as i18n from '../i18n_ast';
export interface Serializer {
write(messageMap: {[id: string]: i18n.Message}): string;
load(content: string, url: string, placeholders: {[id: string]: {[name: string]: string}}):
{[id: string]: html.Node[]};
}