UNPKG

@jsverse/transloco-keys-manager

Version:

Extract translatable keys from projects that uses Transloco

17 lines (16 loc) 407 B
import { Scopes } from '../../types'; export declare function resolveAliasAndKey(key: string, scopes: Scopes): [string, string | null]; /** * * Resolve the scope alias * * @example * * scopePath: 'some/nested' => someNested * scopePath: 'some/nested/en' => someNested * */ export declare function resolveScopeAlias({ scopePath, scopes, }: { scopePath: string; scopes: Scopes; }): string;