@types/caniuse-api

  • Version 3.0.1
  • Published
  • 3.49 kB
  • No dependencies
  • MIT license

Install

npm i @types/caniuse-api
yarn add @types/caniuse-api
pnpm add @types/caniuse-api

Overview

TypeScript definitions for caniuse-api

Index

Variables

variable features

const features: string[];

    Functions

    function find

    find: (query: string) => string[];

      function getBrowserScope

      getBrowserScope: () => string[];

        function getLatestStableBrowsers

        getLatestStableBrowsers: () => string[];

          function getSupport

          getSupport: (feature: string) => BrowserSupport;

            function isSupported

            isSupported: (
            feature: string,
            browsers: string | ReadonlyArray<string>
            ) => boolean;

              function setBrowserScope

              setBrowserScope: (browserscope: string | ReadonlyArray<string>) => void;

                Interfaces

                interface BrowserSupport

                interface BrowserSupport {}

                  index signature

                  [browser: string]: {
                  y?: number;
                  n?: number;
                  a?: number;
                  x?: number;
                  p?: number;
                  };

                    Package Files (1)

                    Dependencies (0)

                    No dependencies.

                    Dev Dependencies (0)

                    No dev dependencies.

                    Peer Dependencies (0)

                    No peer dependencies.

                    Badge

                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/caniuse-api.

                    • Markdown
                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/caniuse-api)
                    • HTML
                      <a href="https://www.jsdocs.io/package/@types/caniuse-api"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>