保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 9bdb95c9e34cef640534e5e5a1e2225a80442000
PAMapp/node_modules/browserslist/index.d.ts
@@ -8,7 +8,7 @@
 * @param queries Browser queries.
 * @returns Array with browser names in Can I Use.
 */
declare function browserslist (
declare function browserslist(
  queries?: string | readonly string[] | null,
  opts?: browserslist.Options
): string[]
@@ -36,6 +36,10 @@
     * Do not throw on unknown version in direct query.
     */
    ignoreUnknownVersions?: boolean
    /**
     * Throw a error if env is not found.
     */
    throwOnMissing?: boolean
    /**
     * Disable security checks for extend query.
     */
@@ -98,6 +102,8 @@
      | undefined
  }
  let nodeVersions: string[]
  interface Usage {
    [version: string]: number
  }
@@ -136,15 +142,15 @@
   * @param stats Which statistics should be used.
   * @returns Total market coverage for all selected browsers.
   */
  function coverage (browsers: readonly string[], stats?: StatsOptions): number
  function coverage(browsers: readonly string[], stats?: StatsOptions): number
  function clearCaches (): void
  function clearCaches(): void
  function parseConfig (string: string): Config
  function parseConfig(string: string): Config
  function readConfig (file: string): Config
  function readConfig(file: string): Config
  function findConfig (...pathSegments: string[]): Config | undefined
  function findConfig(...pathSegments: string[]): Config | undefined
  interface LoadConfigOptions {
    config?: string
@@ -152,7 +158,7 @@
    env?: string
  }
  function loadConfig (options: LoadConfigOptions): string[] | undefined
  function loadConfig(options: LoadConfigOptions): string[] | undefined
}
declare global {