fix(form-core): fix type definition file types for styles
This commit is contained in:
parent
acbd1aa01f
commit
cf0967fe03
3 changed files with 11 additions and 4 deletions
5
.changeset/thin-birds-accept.md
Normal file
5
.changeset/thin-birds-accept.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@lion/form-core': patch
|
||||
---
|
||||
|
||||
Fix type definition file for CSSResultArray
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
import { CSSResult, LitElement, nothing, TemplateResult } from '@lion/core';
|
||||
import { CSSResultArray } from 'lit-element';
|
||||
import { LitElement, nothing, TemplateResult } from '@lion/core';
|
||||
import { SlotsMap, SlotHost } from '@lion/core/types/SlotMixinTypes';
|
||||
import { Constructor } from '@open-wc/dedupe-mixin';
|
||||
import { DisabledHost } from '@lion/core/types/DisabledMixinTypes';
|
||||
|
|
@ -11,7 +12,7 @@ declare interface HTMLElementWithValue extends HTMLElement {
|
|||
}
|
||||
|
||||
export declare class FormControlHost {
|
||||
static get styles(): CSSResult | CSSResult[];
|
||||
static get styles(): CSSResultArray;
|
||||
static get properties(): {
|
||||
name: {
|
||||
type: StringConstructor;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { Constructor } from '@open-wc/dedupe-mixin';
|
||||
import { CSSResult, LitElement, TemplateResult } from '@lion/core';
|
||||
import { LitElement, TemplateResult } from '@lion/core';
|
||||
import { CSSResultArray } from 'lit-element';
|
||||
import { FormatHost } from '../FormatMixinTypes';
|
||||
|
||||
export interface ChoiceInputModelValue {
|
||||
|
|
@ -29,7 +30,7 @@ export declare class ChoiceInputHost {
|
|||
|
||||
updated(changedProperties: Map<string, any>): void;
|
||||
|
||||
static get styles(): CSSResult | CSSResult[];
|
||||
static get styles(): CSSResultArray;
|
||||
|
||||
render(): TemplateResult;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue