mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-04 05:53:21 +00:00
typescript: Add types to node-json-db variables.
This adds JsonDB type to db variables we use, which were previously any due to issue with node-json-db not specifying the types field in package.json.
This commit is contained in:
committed by
Akash Nimare
parent
cec2b3136d
commit
4412f60435
@@ -24,7 +24,7 @@ let instance: null | DomainUtil = null;
|
||||
const defaultIconUrl = '../renderer/img/icon.png';
|
||||
|
||||
class DomainUtil {
|
||||
db: any;
|
||||
db: JsonDB;
|
||||
constructor() {
|
||||
if (instance) {
|
||||
return instance;
|
||||
|
||||
Reference in New Issue
Block a user