diff --git a/deno2/js/main.ts b/deno2/js/main.ts index a41a7dfee3..b34ecf24d5 100644 --- a/deno2/js/main.ts +++ b/deno2/js/main.ts @@ -1,7 +1,6 @@ const globalEval = eval; const window = globalEval("this"); -window['foo'] = () => { +window["foo"] = () => { deno_print("Hello world from foo"); return "foo"; -} - +}; diff --git a/deno2/tools/format.sh b/deno2/tools/format.sh index 25c9f4a892..a5c3241756 100755 --- a/deno2/tools/format.sh +++ b/deno2/tools/format.sh @@ -4,3 +4,4 @@ clang-format -i -style Google *.cc *.h include/*.h gn format BUILD.gn gn format .gn yapf -i tools/*.py +prettier --write js/*.ts js/*.js