@valantic/spartacus-mock
Version:
This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.
10 lines (9 loc) • 500 B
TypeScript
import { MockConfig } from '../../types';
export declare const translationsForNamespace: (language: string, namespace: string, config: MockConfig) => import("@spartacus/core").TranslationResourceKey;
/**
* Deep merges the translation chunks that allows to only overwrite certain translation keys.
*
* @param defaultChunk Default Core Translation Chunk
* @param customChunk Custom Translations (All Chunks)
*/
export declare function mergeDeep(defaultChunk: object, customChunk: object): object;