feat(eslint-config): extends typescript-eslint recommended (#6076)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user