1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-26 21:23:34 +00:00

Add noImplicitAny to tsc compiler options (#86)

This commit is contained in:
mtgto
2020-03-11 22:00:14 +09:00
committed by GitHub
parent 36241e9eac
commit d6c9acdf6f
3 changed files with 7 additions and 5 deletions

View File

@@ -168,7 +168,8 @@ describe('Lastpass CSV Importer', () => {
expect(result.ciphers.length).toBeGreaterThan(0);
const cipher = result.ciphers.shift();
for (const property in data.expected) {
let property: keyof typeof data.expected;
for (property in data.expected) {
if (data.expected.hasOwnProperty(property)) {
expect(cipher.hasOwnProperty(property)).toBe(true);
expect(cipher[property]).toEqual(data.expected[property]);