mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
501 B
TypeScript
18 lines
501 B
TypeScript
import * as caniuse from "caniuse-api";
|
|
|
|
caniuse.features; // $ExpectType string[]
|
|
|
|
caniuse.getSupport(""); // $ExpectType BrowserSupport
|
|
|
|
caniuse.isSupported("", ""); // $ExpectType boolean
|
|
caniuse.isSupported("", [""]); // $ExpectType boolean
|
|
|
|
caniuse.find(""); // $ExpectType string[]
|
|
|
|
caniuse.getLatestStableBrowsers(); // $ExpectType string[]
|
|
|
|
caniuse.setBrowserScope(""); // $ExpectType void
|
|
caniuse.setBrowserScope([""]); // $ExpectType void
|
|
|
|
caniuse.getBrowserScope(); // $ExpectType string[]
|