Rocky_Mountain_Vending/.pnpm-store/v10/files/8f/c8866d3034715450551918c7f60ed0761134958a52bb58588a62cfa880661c1f115d5b6b63299493aa8f0f6282c14334ebc1d17c8877b31ffd5aa24d2522a3
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

27 lines
1.3 KiB
Text

/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import * as puppeteerCore from 'puppeteer-core';
/**
* @fileoverview Lighthouse should be compatible with puppeteer and puppeteer-core even though the types can be slightly different between the two packages.
* Anytime we want to use a Puppeteer type within Lighthouse, we should pull the union type from here rather than one of the packages directly.
*/
type IfNotAny<T> = [T & 0] extends [1] ? never : T;
declare module Puppeteer {
// @ts-ignore Puppeteer is an optional dependency. `IfNotAny` will handle the `any` type if it's not installed.
export type Browser = puppeteerCore.Browser | IfNotAny<import('puppeteer').Browser>;
// @ts-ignore Puppeteer is an optional dependency. `IfNotAny` will handle the `any` type if it's not installed.
export type Page = puppeteerCore.Page | IfNotAny<import('puppeteer').Page>;
// @ts-ignore Puppeteer is an optional dependency. `IfNotAny` will handle the `any` type if it's not installed.
export type CDPSession = puppeteerCore.CDPSession | IfNotAny<import('puppeteer').CDPSession>;
// @ts-ignore Puppeteer is an optional dependency. `IfNotAny` will handle the `any` type if it's not installed.
export type Connection = puppeteerCore.Connection | IfNotAny<import('puppeteer').Connection>;
}
export default Puppeteer;