Update TypeScript to 4.4.2

This commit is contained in:
Fedor Indutny 2021-08-27 13:21:42 -07:00 committed by GitHub
parent 853e27e9eb
commit a43abe628a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 462 deletions

View file

@ -2,7 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import { assert } from 'chai';
import { get as getFromConfig } from 'config';
import config from 'config';
import { keyPair, sign, verify } from '../../updater/curve';
@ -25,7 +25,7 @@ describe('updater/curve', () => {
'hex'
);
const publicKey = Buffer.from(
getFromConfig<string>('updatesPublicKey'),
config.get<string>('updatesPublicKey'),
'hex'
);