fixed linting

This commit is contained in:
Boki 2025-06-20 08:35:24 -04:00
parent 5436509ed6
commit 48503ce8d1
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ export class CacheKeyGenerator {
/**
* Generate cache key for backtest results
*/
static backtest(strategyName: string, params: Record<string, any>): string {
static backtest(strategyName: string, params: Record<string, unknown>): string {
const paramHash = this.hashObject(params);
return `backtest:${strategyName}:${paramHash}`;
}
@ -60,7 +60,7 @@ export class CacheKeyGenerator {
/**
* Create a simple hash from object for cache keys
*/
private static hashObject(obj: Record<string, any>): string {
private static hashObject(obj: Record<string, unknown>): string {
const str = JSON.stringify(obj, Object.keys(obj).sort());
let hash = 0;
for (let i = 0; i < str.length; i++) {

View file

@ -19,7 +19,7 @@ export type DeepPartial<T> = T extends object
}
: T;
export type ConfigSchema = z.ZodSchema<any>;
export type ConfigSchema = z.ZodSchema<unknown>;
export interface ProviderConfig {
name: string;