fix(build): tighten TypeScript build configuration and update tooling dependencies
This commit is contained in:
@@ -10,11 +10,11 @@ export class ClickhouseResultSet<T> {
|
||||
}
|
||||
|
||||
public first(): T | null {
|
||||
return this.rows.length > 0 ? this.rows[0] : null;
|
||||
return this.rows[0] ?? null;
|
||||
}
|
||||
|
||||
public last(): T | null {
|
||||
return this.rows.length > 0 ? this.rows[this.rows.length - 1] : null;
|
||||
return this.rows[this.rows.length - 1] ?? null;
|
||||
}
|
||||
|
||||
public isEmpty(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user