mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 21:54:47 +08:00
Update typescript-eslint to 4.15.0
This also fixes a bug in the PRESUBMIT that ensures that, whenever we update typescript-eslint, we correctly rerun the full linter check. DISABLE_THIRD_PARTY_CHECK=NPM update R=jacktfranklin@chromium.org Bug: none Change-Id: I016f73b26cd84cabf3171aba89c88a0d72820f1a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2692165 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
19cd7eca6c
commit
cf4ab40452
@@ -17,7 +17,7 @@ export class JavaScriptREPL {
|
||||
return code;
|
||||
}
|
||||
|
||||
const parse = (async(): Promise<number> => 0).constructor;
|
||||
const parse = (async (): Promise<number> => 0).constructor;
|
||||
try {
|
||||
// Check if the code can be interpreted as an expression.
|
||||
parse('return ' + code + ';');
|
||||
|
||||
Reference in New Issue
Block a user