source: trip-planner-front/node_modules/@angular/compiler/src/i18n/i18n_parser.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 847 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import * as html from '../ml_parser/ast';
9import { InterpolationConfig } from '../ml_parser/interpolation_config';
10import * as i18n from './i18n_ast';
11export declare type VisitNodeFn = (html: html.Node, i18n: i18n.Node) => i18n.Node;
12export interface I18nMessageFactory {
13 (nodes: html.Node[], meaning: string | undefined, description: string | undefined, customId: string | undefined, visitNodeFn?: VisitNodeFn): i18n.Message;
14}
15/**
16 * Returns a function converting html nodes to an i18n Message given an interpolationConfig
17 */
18export declare function createI18nMessageFactory(interpolationConfig: InterpolationConfig): I18nMessageFactory;
Note: See TracBrowser for help on using the repository browser.