saleor-dashboard/types.d.ts

22 lines
509 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 const FLAGS_SERVICE_ENABLED: boolean;
declare const FLAGSMITH_ID: string;
declare const FLAGS: Record<string, string>;
2020-11-30 10:26:51 +00:00
declare interface Window {
PasswordCredential: PasswordCredential;
__SALEOR_CONFIG__: {
API_URL: string;
APP_MOUNT_URI: string;
APPS_MARKETPLACE_API_URI?: string;
APPS_TUNNEL_URL_KEYWORDS?: string;
IS_CLOUD_INSTANCE?: string;
};
2020-11-30 10:26:51 +00:00
}