Appease the linter
This commit is contained in:
parent
7de727915d
commit
4969cfe9de
5 changed files with 5 additions and 4 deletions
|
@ -39,6 +39,7 @@ function isPushNotifyDisabled(): boolean {
|
|||
}
|
||||
|
||||
function getNotifier(): any { // TODO: [TS] Formal type that doesn't cause a cyclical reference.
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
let Notifier = require('../../Notifier'); // avoids cyclical references
|
||||
if (Notifier.default) Notifier = Notifier.default; // correct for webpack require() weirdness
|
||||
return Notifier;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue