refactor: remove dead code (#3337)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-09 01:41:26 +02:00
1 parent a19002652b
commit 93d1f8af46
1527 files changed
+21170 -73846

No files matched your search

@@ -2,7 +2,7 @@
import type {types} from 'cassandra-driver';
export type CassandraValue =
type CassandraValue =
| string
| number
| bigint
+4 -4
View File
@@ -26,15 +26,15 @@ interface CassandraClientOptions {
logger?: Logger | undefined;
}
export interface CassandraExecuteOptions {
interface CassandraExecuteOptions {
prepare?: boolean | undefined;
}
export interface CassandraBatchOptions {
interface CassandraBatchOptions {
prepare?: boolean | undefined;
}
export interface ICassandraClient {
interface ICassandraClient {
connect(): Promise<void>;
shutdown(): Promise<void>;
isConnected(): boolean;
@@ -183,7 +183,7 @@ export async function shutdownCassandra(): Promise<void> {
defaultClientState.client = null;
}
export function getDefaultCassandraClient(): ICassandraClient {
function getDefaultCassandraClient(): ICassandraClient {
if (defaultClientState.client === null) {
throw new Error('Cassandra client is not initialized. Call initCassandra() first.');
}