refactor(editor): enable the noUncheckedIndexedAccess rule for the data-view package (#9351)
close: BS-2230
This commit is contained in:
40 files changed
+258
-123
No files matched your search
Vendored
+1
-1
@@ -19,7 +19,7 @@ export class UaHelper {
|
||||
console.error('Cannot get chrome version');
|
||||
return 0;
|
||||
}
|
||||
return parseInt(raw[2], 10);
|
||||
return parseInt(raw[2] ?? '', 10);
|
||||
};
|
||||
|
||||
constructor(private readonly navigator: Navigator) {
|
||||
|
||||
Reference in new issue
Block a user