clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

7 lines
341 B

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;