feat(eslint-config): extends typescript-eslint recommended (#6076)

This commit is contained in:
neverland
2020-04-17 14:51:55 +08:00
committed by GitHub
parent 28bbef6b6f
commit 31674a162c
10 changed files with 81 additions and 76 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function fallback(fn: FrameRequestCallback): number {
}
/* istanbul ignore next */
const root = <Window>(isServer ? global : window);
const root = (isServer ? global : window) as Window;
/* istanbul ignore next */
const iRaf = root.requestAnimationFrame || fallback;