Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(frontend): fix moment type importing (#171)

Liu Ji615942533a64
diff --git a/frontend/src/shims-vue-globals.d.ts b/frontend/src/shims-vue-globals.d.ts
index a542722aae..7d3f72eece 100644
--- a/frontend/src/shims-vue-globals.d.ts
+++ b/frontend/src/shims-vue-globals.d.ts
@@ -11,14 +11,14 @@ import type {
sizeToFit,
urlfy,
} from "./utils";
-import type { Moment } from "moment";
+import type moment from "moment";
import type { isEmpty } from "lodash";
declare module "@vue/runtime-core" {
export interface ComponentCustomProperties {
window: Window & typeof globalThis;
console: Console;
- moment: Moment;
+ moment: typeof moment;
humanizeTs: typeof humanizeTs;
isDev: boolean;
isRelease: boolean;