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:
811 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 | */
|
---|
8 | export declare type DiagnosticReporter = (type: 'error' | 'warning' | 'info', message: string) => void;
|
---|
9 | export interface ApplicationPresetOptions {
|
---|
10 | i18n?: {
|
---|
11 | locale: string;
|
---|
12 | missingTranslationBehavior?: 'error' | 'warning' | 'ignore';
|
---|
13 | translation?: unknown;
|
---|
14 | };
|
---|
15 | angularLinker?: {
|
---|
16 | shouldLink: boolean;
|
---|
17 | jitMode: boolean;
|
---|
18 | };
|
---|
19 | forceES5?: boolean;
|
---|
20 | forceAsyncTransformation?: boolean;
|
---|
21 | diagnosticReporter?: DiagnosticReporter;
|
---|
22 | }
|
---|
23 | export default function (api: unknown, options: ApplicationPresetOptions): {
|
---|
24 | presets: any[][];
|
---|
25 | plugins: any[];
|
---|
26 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.