diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-10-04 20:28:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-04 20:28:51 -0400 |
commit | b81e5db17aa8b3088d6034ddf86b79c69410f012 (patch) | |
tree | 579e4c23d60d1b0d038156bc28a04f74ea87b2f0 /js/version.ts | |
parent | 9049213867d30f7df090a83b6baf3e0717a4d2d2 (diff) |
Merge deno_cli_snapshots into deno_cli (#3064)
Diffstat (limited to 'js/version.ts')
-rw-r--r-- | js/version.ts | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/js/version.ts b/js/version.ts deleted file mode 100644 index 08ac58122..000000000 --- a/js/version.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -interface Version { - deno: string; - v8: string; - typescript: string; -} - -export const version: Version = { - deno: "", - v8: "", - typescript: "" -}; - -/** - * Sets the deno, v8, and typescript versions and freezes the version object. - * @internal - */ -export function setVersions( - denoVersion: string, - v8Version: string, - tsVersion: string -): void { - version.deno = denoVersion; - version.v8 = v8Version; - version.typescript = tsVersion; - - Object.freeze(version); -} |