summit/frontend/node_modules/@mapbox/mapbox-gl-supported/index.d.ts

14 lines
337 B
TypeScript

declare type IsSupportedOptions = {
failIfMajorPerformanceCaveat: boolean;
}
declare type IsSupported = {
webGLContextAttributes: WebGLContextAttributes;
(
options?: IsSupportedOptions
): boolean;
};
export const supported: IsSupported;
export function notSupportedReason(options?: IsSupportedOptions): string;