mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 12:31:23 +00:00
chore: Enable typescript/no-explicit-any rule.
This commit is contained in:
@@ -128,12 +128,14 @@ describe("timestampOptsFromConfig", () => {
|
||||
userTimezone: "America/Chicago",
|
||||
},
|
||||
},
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
} as any);
|
||||
|
||||
expect(opts.timezone).toBe("America/Chicago");
|
||||
});
|
||||
|
||||
it("falls back gracefully with empty config", () => {
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
const opts = timestampOptsFromConfig({} as any);
|
||||
|
||||
expect(opts.timezone).toBeDefined(); // resolveUserTimezone provides a default
|
||||
|
||||
Reference in New Issue
Block a user