mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(all): strong typing for color
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { Component, Element, Event, EventEmitter, Prop, Watch } from '@stencil/core';
|
||||
|
||||
import { InputChangeEvent, Mode, StyleEvent } from '../../interface';
|
||||
import { Color, InputChangeEvent, Mode, StyleEvent } from '../../interface';
|
||||
import { debounceEvent, deferEvent } from '../../utils/helpers';
|
||||
import { createThemedClasses } from '../../utils/theme';
|
||||
import { TextareaComponent } from '../input/input-base';
|
||||
@ -19,7 +19,7 @@ import { TextareaComponent } from '../input/input-base';
|
||||
export class Textarea implements TextareaComponent {
|
||||
|
||||
mode!: Mode;
|
||||
color!: string;
|
||||
color?: Color;
|
||||
|
||||
didBlurAfterEdit = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user