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
|
Rev | Line | |
---|
[6a3a178] | 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 | */
|
---|
| 8 | import * as html from '../ml_parser/ast';
|
---|
| 9 | import { InterpolationConfig } from '../ml_parser/interpolation_config';
|
---|
| 10 | import * as i18n from './i18n_ast';
|
---|
| 11 | export declare type VisitNodeFn = (html: html.Node, i18n: i18n.Node) => i18n.Node;
|
---|
| 12 | export 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 | */
|
---|
| 18 | export declare function createI18nMessageFactory(interpolationConfig: InterpolationConfig): I18nMessageFactory;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.