Bump deps w/ eslint (#322)

* Bump deps w/ eslint

* theme default
This commit is contained in:
Jaco Greeff
2020-05-24 09:35:43 +02:00
committed by GitHub
parent 050d1966c6
commit 2df46e88ce
26 changed files with 504 additions and 353 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ export class Keyring extends Base implements KeyringStruct {
};
Object.keys(meta).forEach((key): void => {
json.meta[key] = meta[key];
json.meta[key] = meta[key] as unknown;
});
delete json.meta.isRecent;
@@ -1 +0,0 @@
declare module '@ledgerhq/hw-transport-webusb';
+1 -1
View File
@@ -50,6 +50,6 @@ export default class FileStore implements KeyringStore {
private _readKey (key: string): KeyringJson {
return JSON.parse(
fs.readFileSync(this._getPath(key)).toString('utf-8')
);
) as KeyringJson;
}
}
+1 -3
View File
@@ -26,7 +26,6 @@ export interface KeyringOptions extends KeyringOptionsBase {
store?: KeyringStore;
}
// eslint-disable-next-line @typescript-eslint/class-name-casing
export interface KeyringJson$Meta {
contract?: ContractMeta;
genesisHash?: string | null;
@@ -39,8 +38,7 @@ export interface KeyringJson$Meta {
whenCreated?: number;
whenEdited?: number;
whenUsed?: number;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
[index: string]: any;
[index: string]: unknown;
}
export interface KeyringJson {