test: cleanup let xyz = null as unknown as T; (#37335)
This commit is contained in:
parent
fcfbcbc7e1
commit
cf10c19c33
7 changed files with 41 additions and 41 deletions
|
@ -97,8 +97,8 @@ describe('window.postMessage', () => {
|
|||
});
|
||||
|
||||
describe('focus handling', () => {
|
||||
let webviewContents: WebContents = null as unknown as WebContents;
|
||||
let w: BrowserWindow = null as unknown as BrowserWindow;
|
||||
let webviewContents: WebContents;
|
||||
let w: BrowserWindow;
|
||||
|
||||
beforeEach(async () => {
|
||||
w = new BrowserWindow({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue