[sinon-chrome] Follow the browser spec

This commit is contained in:
kobanyan
2018-03-17 16:02:38 +09:00
parent cc57bb8850
commit 661e06710b

View File

@@ -357,12 +357,17 @@ declare namespace SinonChrome.permissions {
}
declare namespace SinonChrome.plugins {
export interface Translation {
message: string;
placeholders?: object;
}
export interface Translations {
[key: string]: Translation;
[key: string]: {
message: string;
description?: string;
placeholders?: {
[key: string]: {
content: string;
example?: string;
};
};
};
}
export class I18nPlugin {
constructor(translations?: Translations);