2021-04-15 01:32:46 +00:00
|
|
|
/**
|
|
|
|
* Boolean determining if environment is development.
|
|
|
|
*/
|
|
|
|
export const isDevelopmentMode = process.env.NODE_ENV === 'development';
|
2021-08-19 00:25:16 +00:00
|
|
|
|
|
|
|
interface generalSettings {
|
|
|
|
woocommerce_default_country: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface preloadSettings {
|
|
|
|
general: generalSettings;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface wcSettings {
|
|
|
|
preloadSettings: preloadSettings;
|
|
|
|
}
|
|
|
|
declare global {
|
|
|
|
interface Window {
|
|
|
|
wcSettings: wcSettings;
|
|
|
|
}
|
|
|
|
}
|