blob: 3f2f4a10bfd8f86b32500344d6911d45e51c64d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import Setting from '../domains/Setting';
export default class SettingRepository {
async load(): Promise<any> {
let { settings } = await browser.storage.local.get('settings');
if (!settings) {
return null;
}
return Setting.deserialize(settings);
}
}
|