8 lines
274 B
TypeScript
8 lines
274 B
TypeScript
|
|
declare namespace Cypress {
|
||
|
|
interface Chainable {
|
||
|
|
loadTranslations(locale?: string): Chainable<any>;
|
||
|
|
getTranslation(key: string, locale?: string): Chainable<string>;
|
||
|
|
shouldHaveTranslation(selector: string, key: string, locale?: string): Chainable<void>;
|
||
|
|
}
|
||
|
|
}
|