mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Add strict compiling for profiler service (#11898)
* add strict compiling for profiler * fix up strict * add contrib
This commit is contained in:
@@ -172,8 +172,11 @@ export class SelectBox extends vsSelectBox {
|
||||
this.applyStyles();
|
||||
}
|
||||
|
||||
public selectWithOptionName(optionName: string): void {
|
||||
const option = this._optionsDictionary.get(optionName);
|
||||
public selectWithOptionName(optionName?: string): void {
|
||||
let option: number | undefined;
|
||||
if (optionName) {
|
||||
option = this._optionsDictionary.get(optionName);
|
||||
}
|
||||
if (option) {
|
||||
this.select(option);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user