message: warnOnce: enhance to use console.warn
  add ability to change warn to error
  make warn a default thingie
diff: -export function warnOnce(zone: string) {
  +export type WarnOnceHandler = (
  + message: string,
  + type?: "warn" | "error"
  +) => void;
  +
  +export function warnOnce(zone: string): WarnOnceHandler {
  const didWarn: { [msg: string]: boolean } = {};
  - return (message: string) => {
  +
  + return (message: string, type: "warn" | "error" = "warn") => {
  if (!didWarn[message]) {
  - console.error(`[VKUI/${zone}] ${message}`);
  + console[type](`[VKUI/${zone}] ${message}`);
  didWarn[message] = true;
  }
  };
  