mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
Fix ESLint for few files
This commit is contained in:
@@ -35,8 +35,11 @@ export class Splitter {
|
||||
this.initialize();
|
||||
}
|
||||
|
||||
public initialize() {
|
||||
if (document.getElementById(this.splitterId) !== null && document.getElementById(this.leftSideId) != null) {
|
||||
public initialize(): void {
|
||||
if (
|
||||
document.getElementById(this.splitterId) !== undefined &&
|
||||
document.getElementById(this.leftSideId) !== undefined
|
||||
) {
|
||||
this.splitter = <HTMLElement>document.getElementById(this.splitterId);
|
||||
this.leftSide = <HTMLElement>document.getElementById(this.leftSideId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user