87968: Minor code changes to pass lint

This commit is contained in:
Yura Bondarenko
2022-03-25 12:36:14 +01:00
parent bb51609af9
commit 99c41b9e80
27 changed files with 39 additions and 41 deletions

6
src/typings.d.ts vendored
View File

@@ -31,14 +31,14 @@ declare module 'modern-lru' {
export = x;
}
declare var System: SystemJS;
declare let System: SystemJS;
interface SystemJS {
import: (path?: string) => Promise<any>;
}
// Extra variables that live on Global that will be replaced by webpack DefinePlugin
declare var ENV: string;
declare var HMR: boolean;
declare let ENV: string;
declare let HMR: boolean;
interface GlobalEnvironment {
ENV;
HMR;