mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 17:22:25 -05:00
Small strict null checking pass on a few files (#4293)
* fix some null checking * fix various null strict checks * move location fo sql files in json * fix compile and more unused properties * formatting * small formatting changes * readd types * add comments for angular components * formatting * remove any decl
This commit is contained in:
@@ -20,12 +20,12 @@ export interface IInputBoxStyles extends vsIInputBoxStyles {
|
||||
}
|
||||
|
||||
export class InputBox extends vsInputBox {
|
||||
private enabledInputBackground: Color;
|
||||
private enabledInputForeground: Color;
|
||||
private enabledInputBorder: Color;
|
||||
private disabledInputBackground: Color;
|
||||
private disabledInputForeground: Color;
|
||||
private disabledInputBorder: Color;
|
||||
private enabledInputBackground?: Color;
|
||||
private enabledInputForeground?: Color;
|
||||
private enabledInputBorder?: Color;
|
||||
private disabledInputBackground?: Color;
|
||||
private disabledInputForeground?: Color;
|
||||
private disabledInputBorder?: Color;
|
||||
|
||||
private _lastLoseFocusValue: string;
|
||||
|
||||
@@ -41,8 +41,6 @@ export class InputBox extends vsInputBox {
|
||||
this.enabledInputForeground = this.inputForeground;
|
||||
this.enabledInputBorder = this.inputBorder;
|
||||
this.disabledInputBackground = Color.transparent;
|
||||
this.disabledInputForeground = null;
|
||||
this.disabledInputBorder = null;
|
||||
|
||||
this._lastLoseFocusValue = this.value;
|
||||
let self = this;
|
||||
@@ -126,4 +124,4 @@ export class InputBox extends vsInputBox {
|
||||
this.inputForeground = enabled ? this.enabledInputForeground : this.disabledInputForeground;
|
||||
this.inputBorder = enabled ? this.enabledInputBorder : this.disabledInputBorder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user