1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export const features: string[];
|
8 |
|
9 | export interface BrowserSupport {
|
10 | [browser: string]: {
|
11 | y?: number | undefined;
|
12 | n?: number | undefined;
|
13 | a?: number | undefined;
|
14 | x?: number | undefined;
|
15 | p?: number | undefined;
|
16 | };
|
17 | }
|
18 |
|
19 | export function getSupport(feature: string): BrowserSupport;
|
20 |
|
21 | export function isSupported(
|
22 | feature: string,
|
23 | browsers: string | ReadonlyArray<string>
|
24 | ): boolean;
|
25 |
|
26 | export function find(query: string): string[];
|
27 |
|
28 | export function getLatestStableBrowsers(): string[];
|
29 |
|
30 | export function setBrowserScope(
|
31 | browserscope: string | ReadonlyArray<string>
|
32 | ): void;
|
33 |
|
34 | export function getBrowserScope(): string[];
|