UNPKG

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