1
Fork 0

Use saner type

This commit is contained in:
Jake Howard 2019-06-29 21:17:01 +01:00
parent 9efe41090e
commit 1402b04b51
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -28,7 +28,7 @@ const BUNDLER_OPTIONS = {
}; };
function readAccounts(): ReadonlyArray<Account> { function readAccounts(): ReadonlyArray<Account> {
const rawAccounts: Object = jsyaml.safeLoad( const rawAccounts: object = jsyaml.safeLoad(
readFileSync(join(__dirname, 'accounts.yml')).toString() readFileSync(join(__dirname, 'accounts.yml')).toString()
); );
return Object.values( return Object.values(