UNPKG

869 BSource Map (JSON)View Raw
1{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../../../src/electron/common/store.ts"],"names":[],"mappings":"","sourcesContent":["// ==LICENSE-BEGIN==\n// Copyright 2017 European Digital Reading Lab. All rights reserved.\n// Licensed to the Readium Foundation under one or more contributor license agreements.\n// Use of this source code is governed by a BSD-style license\n// that can be found in the LICENSE file exposed on Github (readium) in the project repository.\n// ==LICENSE-END==\n\nexport interface IStore {\n // init(name: string, defaults: any): void;\n getDefaults(): any;\n get(key: string): any;\n set(key: string | undefined, value: any): void;\n onChanged(key: string, callback: (newValue: any, oldValue: any) => void): void;\n}\n// declare var IStore: {\n// new (name: string, defaults: any): IStore;\n// };\n"]}
\No newline at end of file