diff options
author | Samrith Shankar <samrith-s@users.noreply.github.com> | 2020-03-20 14:38:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 09:38:34 -0400 |
commit | 798904b0f2ed0c7284b67bba2f125f406b5850de (patch) | |
tree | 5aba8d35aa8984aa778c894258bcaed56f1ce17c /cli/js/ops/runtime_compiler.ts | |
parent | 35f6e2e45ddb96524a6bdf54b0a6155caa88d5e0 (diff) |
Add require-await lint rule (#4401)
Diffstat (limited to 'cli/js/ops/runtime_compiler.ts')
-rw-r--r-- | cli/js/ops/runtime_compiler.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/ops/runtime_compiler.ts b/cli/js/ops/runtime_compiler.ts index 035a4ef59..b46670ace 100644 --- a/cli/js/ops/runtime_compiler.ts +++ b/cli/js/ops/runtime_compiler.ts @@ -9,7 +9,7 @@ interface CompileRequest { bundle: boolean; } -export async function compile(request: CompileRequest): Promise<string> { +export function compile(request: CompileRequest): Promise<string> { return sendAsync("op_compile", request); } @@ -18,6 +18,6 @@ interface TranspileRequest { options?: string; } -export async function transpile(request: TranspileRequest): Promise<string> { +export function transpile(request: TranspileRequest): Promise<string> { return sendAsync("op_transpile", request); } |