Skip to content

Commit

Permalink
remove unnecessary castings to any
Browse files Browse the repository at this point in the history
  • Loading branch information
Vritra4 committed Jan 3, 2024
1 parent 3eab5e4 commit b77a8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bots/src/worker/batchSubmitter/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function initConnection(options: DataSourceOptions): Promise<DataSource> {
return new DataSource({
...options,
...staticOptions,
namingStrategy: new CamelToSnakeNamingStrategy() as any
namingStrategy: new CamelToSnakeNamingStrategy()
}).initialize();
}

Expand Down
2 changes: 1 addition & 1 deletion bots/src/worker/bridgeExecutor/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function initConnection(options: DataSourceOptions): Promise<DataSource> {
return new DataSource({
...options,
...staticOptions,
namingStrategy: new CamelToSnakeNamingStrategy() as any
namingStrategy: new CamelToSnakeNamingStrategy()
}).initialize();
}

Expand Down

0 comments on commit b77a8a0

Please sign in to comment.