mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 18:25:03 +00:00
12 lines
239 B
TypeScript
12 lines
239 B
TypeScript
import type { Knub } from "knub";
|
|
|
|
type Profiler = Knub["profiler"];
|
|
let profiler: Profiler | null = null;
|
|
|
|
export function getProfiler() {
|
|
return profiler;
|
|
}
|
|
|
|
export function setProfiler(_profiler: Profiler) {
|
|
profiler = _profiler;
|
|
}
|