fix: fix typescript errors (coming from update)

This commit is contained in:
Xymorot 2019-11-18 23:10:09 +01:00
parent c02046817e
commit 69f06b2e0c
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ describe('Frontend Utils', function() {
});
fc.assert(
fc.property(classObjectArbitrary, (classObject) => {
fc.property(classObjectArbitrary, (classObject: any) => {
const expectedClasses = Object.keys(classObject).filter((key) => classObject[key]);
const compiled = c(classObject);
@ -75,7 +75,7 @@ describe('Frontend Utils', function() {
});
fc.assert(
fc.property(styleObjectArbitrary, (styleObject) => {
fc.property(styleObjectArbitrary, (styleObject: any) => {
const expectedString = Object.keys(styleObject)
.filter((key) => {
const value = styleObject[key];