mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-12 03:51:03 +00:00
@@ -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';
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user