forked from zicloud/bigscreen_admin
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
341 B
TypeScript
8 lines
341 B
TypeScript
declare const levels: readonly ["error", "warn", "log", "info"];
|
|
export type DebugLevel = (typeof levels)[number];
|
|
declare function namespace(ns: string): Record<DebugLevel, (...args: unknown[]) => void>;
|
|
declare namespace namespace {
|
|
var level: (newLevel: false | "error" | "warn" | "log" | "info") => void;
|
|
}
|
|
export default namespace;
|