summaryrefslogtreecommitdiff
path: root/cli/js/compiler/util.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-03-29 04:03:49 +1100
committerGitHub <noreply@github.com>2020-03-28 13:03:49 -0400
commitbced52505f32d6cca4f944bb610a8a26767908a8 (patch)
treeda49a5df4b7bd6f8306248069228cd6bd0db1303 /cli/js/compiler/util.ts
parent1397b8e0e7c85762e19d88fde103342bfa563360 (diff)
Update to Prettier 2 and use ES Private Fields (#4498)
Diffstat (limited to 'cli/js/compiler/util.ts')
-rw-r--r--cli/js/compiler/util.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/compiler/util.ts b/cli/js/compiler/util.ts
index 8acc83a2d..170dff30f 100644
--- a/cli/js/compiler/util.ts
+++ b/cli/js/compiler/util.ts
@@ -33,7 +33,7 @@ export interface WriteFileState {
export enum CompilerRequestType {
Compile = 0,
RuntimeCompile = 1,
- RuntimeTranspile = 2
+ RuntimeTranspile = 2,
}
export const OUT_DIR = "$deno$";
@@ -255,7 +255,7 @@ export function convertCompilerOptions(
}
return {
options: out as ts.CompilerOptions,
- files: files.length ? files : undefined
+ files: files.length ? files : undefined,
};
}
@@ -287,7 +287,7 @@ export const ignoredDiagnostics = [
// TS7016: Could not find a declaration file for module '...'. '...'
// implicitly has an 'any' type. This is due to `allowJs` being off by
// default but importing of a JavaScript module.
- 7016
+ 7016,
];
export function processConfigureResponse(