Merge pull request #15074 from aaronbeall/master

[detect-browser] Added browser string literal values to const name
This commit is contained in:
Paul van Brenk
2017-03-21 17:11:00 -07:00
committed by GitHub
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for detect-browser v1.3.3
// Type definitions for detect-browser v1.6.2
// Project: https://github.com/DamonOehlman/detect-browser
// Definitions by: Rogier Schouten <https://github.com/rogierschouten>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -6,7 +6,7 @@
/**
* Browser name
*/
export const name: string;
export const name: "edge" | "yandexbrowser" | "chrome" | "crios" | "firefox" | "opera" | "ie" | "bb10" | "android" | "ios" | "safari";
/**
* Browser version