-
-
Notifications
You must be signed in to change notification settings - Fork 411
Open
Labels
Description
In our project we use CloseWatcher
function getWatcher(): CloseWatcher {
// @ts-ignore
return typeof CloseWatcher === 'undefined' ? {destroy: () => {}} : new CloseWatcher();
}
After npx eslint . --fix
// @ts-ignore
return CloseWatcher === undefined ? {destroy: () => {}} : new CloseWatcher();
But after that I have error when npx jest .
