Open platform to collect and prioritize feedback
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 {
gtag?: (cmd: string, name: string, params?: Record<string, unknown>) => 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
}