forked from Finalgoal231/finalgoal-svelte-ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.d.ts
40 lines (37 loc) · 769 Bytes
/
app.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
import type { Me, Cart, Category } from '$lib/types'
// and what to do when importing types
declare global {
namespace App {
interface Locals {
me: Me | null
q: string
sid: string
url: string
zip: string
currentPage: number
user: {
name: string
role: string
}
cart: Cart
cartId: string
cartQty: number
host: string
isDesktop: boolean
isShowBackButton: boolean
megamenu: Category
menu: [any]
origin: string
popularSearches: [any]
session: string
sid: string
store: any
storeId: string
zip: string
}
// interface PageData {}
// interface Platform {}
}
}