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>
22 lines
811 B
Text
22 lines
811 B
Text
export {};
|
|
|
|
// lib.webworker has `WorkerNavigator` rather than `Navigator`, so conditionals use `onabort` instead of `onmessage`
|
|
type _Navigator = typeof globalThis extends { onabort: any } ? {} : Navigator;
|
|
interface Navigator {
|
|
readonly hardwareConcurrency: number;
|
|
readonly language: string;
|
|
readonly languages: readonly string[];
|
|
readonly platform: string;
|
|
readonly userAgent: string;
|
|
}
|
|
|
|
declare global {
|
|
interface Navigator extends _Navigator {}
|
|
var Navigator: typeof globalThis extends { onabort: any; Navigator: infer T } ? T : {
|
|
prototype: Navigator;
|
|
new(): Navigator;
|
|
};
|
|
|
|
// Needs conditional inference for lib.dom and lib.webworker compatibility
|
|
var navigator: typeof globalThis extends { onmessage: any; navigator: infer T } ? T : Navigator;
|
|
}
|