chore: fix type issues
This commit is contained in:
parent
57d2c62b78
commit
006a47e530
3 changed files with 5 additions and 4 deletions
0
packages/core/src/ScopedStylesController.js
Normal file
0
packages/core/src/ScopedStylesController.js
Normal 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 { IsNumber, LionField, Validator } from '@lion/form-core';
|
||||||
import '@lion/form-core/define';
|
import '@lion/form-core/define';
|
||||||
import { localizeTearDown } from '@lion/localize/test-helpers';
|
import { localizeTearDown } from '@lion/localize/test-helpers';
|
||||||
|
|
@ -1387,8 +1387,8 @@ export function runFormGroupMixinSuite(cfg = {}) {
|
||||||
render() {
|
render() {
|
||||||
return html`
|
return html`
|
||||||
<${tag}
|
<${tag}
|
||||||
.modelValue=${ifDefined(this.modelValue)}
|
.modelValue=${this.modelValue}
|
||||||
.serializedValue=${ifDefined(this.serializedValue)}>
|
.serializedValue=${this.serializedValue}>
|
||||||
${this.fields.map(field => {
|
${this.fields.map(field => {
|
||||||
if (typeof field === 'object') {
|
if (typeof field === 'object') {
|
||||||
return html`<${childTag} name="${field.name}" .modelValue="${field.value}"></${childTag}>`;
|
return html`<${childTag} name="${field.name}" .modelValue="${field.value}"></${childTag}>`;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@
|
||||||
"alwaysStrict": true,
|
"alwaysStrict": true,
|
||||||
"types": ["node", "mocha", "sinon"],
|
"types": ["node", "mocha", "sinon"],
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"suppressImplicitAnyIndexErrors": true
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"include": ["packages/**/*.js", "packages-node/**/*.js"],
|
"include": ["packages/**/*.js", "packages-node/**/*.js"],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue