1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
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 | }
|