UNPKG

@angular/compiler

Version:

Angular - the compiler library

15 lines (14 loc) 634 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 */ import * as html from '../ml_parser/ast'; import { InterpolationConfig } from '../ml_parser/interpolation_config'; import * as i18n from './i18n_ast'; /** * Returns a function converting html nodes to an i18n Message given an interpolationConfig */ export declare function createI18nMessageFactory(interpolationConfig: InterpolationConfig): (nodes: html.Node[], meaning: string, description: string, id: string) => i18n.Message;