mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
17 lines
No EOL
509 B
TypeScript
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[]};
|
|
} |