Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
835 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 | import * as ts from 'typescript';
|
---|
9 | export declare class BuildBrowserFeatures {
|
---|
10 | private projectRoot;
|
---|
11 | readonly supportedBrowsers: string[];
|
---|
12 | constructor(projectRoot: string);
|
---|
13 | /**
|
---|
14 | * True, when one or more browsers requires ES5
|
---|
15 | * support and the script target is ES2015 or greater.
|
---|
16 | */
|
---|
17 | isDifferentialLoadingNeeded(scriptTarget: ts.ScriptTarget): boolean;
|
---|
18 | /**
|
---|
19 | * True, when one or more browsers requires ES5 support
|
---|
20 | */
|
---|
21 | isEs5SupportNeeded(): boolean;
|
---|
22 | /**
|
---|
23 | * True, when a browser feature is supported partially or fully.
|
---|
24 | */
|
---|
25 | isFeatureSupported(featureId: string): boolean;
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.