forked from getfider/fider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
38 lines (34 loc) · 786 Bytes
/
index.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
interface GetPriceResponse {
price: { net: string }
error?: {
message: string
}
}
interface PaddleSdk {
isReady: boolean
Setup(params: { vendor: number }): void
Environment: {
set(envName: "sandbox"): void
}
Checkout: {
open(params: { override: string; closeCallback: () => void }): void
}
Product: {
Prices(planId: number, callback: (resp: GetPriceResponse) => void): void
}
}
declare interface Window {
ga?: (cmd: string, evt: string, args?: any) => void
set: (key: string, value: any) => void
Paddle: PaddleSdk
}
interface SpriteSymbol {
id: string
viewBox: string
}
declare let __webpack_nonce__: string
declare let __webpack_public_path__: string
declare module "*.svg" {
const content: SpriteSymbol
export default content
}