chore: fix type issues

This commit is contained in:
jorenbroekema 2022-02-28 15:28:31 +01:00
parent 57d2c62b78
commit 006a47e530
3 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,4 @@
import { ifDefined, LitElement } from '@lion/core';
import { LitElement } from '@lion/core';
import { IsNumber, LionField, Validator } from '@lion/form-core';
import '@lion/form-core/define';
import { localizeTearDown } from '@lion/localize/test-helpers';
@ -1387,8 +1387,8 @@ export function runFormGroupMixinSuite(cfg = {}) {
render() {
return html`
<${tag}
.modelValue=${ifDefined(this.modelValue)}
.serializedValue=${ifDefined(this.serializedValue)}>
.modelValue=${this.modelValue}
.serializedValue=${this.serializedValue}>
${this.fields.map(field => {
if (typeof field === 'object') {
return html`<${childTag} name="${field.name}" .modelValue="${field.value}"></${childTag}>`;

View file

@ -12,7 +12,8 @@
"alwaysStrict": true,
"types": ["node", "mocha", "sinon"],
"esModuleInterop": true,
"suppressImplicitAnyIndexErrors": true
"suppressImplicitAnyIndexErrors": true,
"skipLibCheck": true
},
"include": ["packages/**/*.js", "packages-node/**/*.js"],
"exclude": [