message: chore: add literal union to types and update react type
diff: @@ -8,7 +8,11 @@ export type UnionStringArray<T extends Readonly<string[]>> = T[number]
  export type Omit<T, K> = Pick<T, Exclude<keyof T, K>>
  -export type As<P = any> = React.ReactType<P>
  +export type As<P = any> = React.ElementType<P>
  +
  +export type LiteralUnion<T extends U, U extends any = string> =
  + | T
  + | (U & { _?: never })
  export type AnyFunction<T = any> = (...args: T[]) => any
  