embark/packages/core/i18n/index.d.ts
Iuri Matias c46c52ff5c
move embarkjs packages & remove embark- prefix from some folders (#1879)
* chore(@embark/): move embarkjs packages to their own folder

* chore(@embark/): rename embark-ui folder to cockpit

* chore(@embark/): rename packages already in logical folders to remove embark- prefix

chore(@embark/): rename packages already in logical folders to remove embark- prefix

update package.json files to use correct eslint config

remove core/* from package.json workspaces
2019-09-06 18:26:08 -04:00

15 lines
378 B
TypeScript

import { Maybe } from "embark";
import * as i18n from "i18n";
declare module "embark-i18n" {
function setOrDetectLocale(locale: Maybe<string>): void;
function __(
phraseOrOptions: string | i18n.TranslateOptions,
...replace: string[]
): string;
function __(
phraseOrOptions: string | i18n.TranslateOptions,
replacements: i18n.Replacements
): string;
}