message: feat: add typo
diff: @@ -12,6 +12,12 @@ enum color {
  'danger',
  }
  +enum size {
  + 'small',
  + 'medium',
  + 'large',
  +}
  +
  export interface IAlert extends HTMLElement {
  /** 'success' | 'danger' | 'toast' | 'vip' */
  type?: type | string
  @@ -19,6 +25,10 @@ export interface IAlert extends HTMLElement {
  color?: color | string
  /** boolean */
  closable?: boolean
  + /** boolean */
  + transparent?: boolean
  + /** 'small' | 'medium' | 'large' */
  + size?: size | string
  /** function */
  onClose?(): void
  }
  