saleor-dashboard/types.d.ts

21 lines
487 B
TypeScript
Raw Normal View History

2019-06-19 14:40:52 +00:00
declare module "*.jpg";
declare module "*.png";
declare module "*.svg" {
const content: any;
export default content;
}
2020-11-30 10:26:51 +00:00
declare interface Window {
PasswordCredential: PasswordCredential;
__SALEOR_CONFIG__: {
API_URL: string;
APP_MOUNT_URI: string;
MARKETPLACE_URL: string;
SALEOR_APPS_PAGE_PATH: string;
SALEOR_APPS_JSON_PATH: string;
APP_TEMPLATE_GALLERY_PATH: string;
APPS_MARKETPLACE_API_URI?: string;
APPS_TUNNEL_URL_KEYWORDS?: string;
};
2020-11-30 10:26:51 +00:00
}