14 lines
333 B
TypeScript
14 lines
333 B
TypeScript
|
// src/global.d.ts
|
||
|
import { LogType } from "../components/ui/log/LoggerContext";
|
||
|
|
||
|
declare global {
|
||
|
const echo: {
|
||
|
log: (message: string) => void;
|
||
|
info: (message: string) => void;
|
||
|
warn: (message: string) => void;
|
||
|
error: (message: string) => void;
|
||
|
success: (message: string) => void;
|
||
|
clear: () => void;
|
||
|
};
|
||
|
}
|