message: fix(components): fix typos in config
diff: import { isArray, isLinkHttp } from "@vuepress/shared";
  import { logger } from "../utils.js";
  +import type { FontIconAssets } from "../options/index.js";
  +
  const FONT_AWESOME_PREFIX = "fas fa-sm fa-fw fa-";
  const ICON_FONT_PREFIX = "iconfont icon-";
  @@ -12,7 +14,7 @@ const isFontAwesomeLink = (link: string): boolean =>
  const isIconFontLink = (link: string): boolean =>
  /^(?:https:)?\/\/at\.alicdn\.com\/t\//.test(link);
  -export const getIconPrefix = (assets?: string | string[]): string => {
  +export const getIconPrefix = (assets?: FontIconAssets): string => {
  if (Array.isArray(assets)) {
  if (assets.every(isFontAwesomeLink)) return FONT_AWESOME_PREFIX;
  if (assets.every(isIconFontLink)) return ICON_FONT_PREFIX;
  @@ -51,7 +53,7 @@ useScriptTag(
  `,
  }));
  -export const getIconLink = (iconLink?: string[] | string): LinkInfo[] => {
  +export const getIconLink = (iconLink?: FontIconAssets): LinkInfo[] => {
  if (!iconLink) return [];
  if (iconLink === "fontawesome")
  