diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-07-19 19:49:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-19 19:49:44 +0200 |
commit | fa61956f03491101b6ef64423ea2f1f73af26a73 (patch) | |
tree | c3800702071ca78aa4dd71bdd0a59a9bbe460bdd /cli/js/version.ts | |
parent | 53adde866dd399aa2509d14508642fce37afb8f5 (diff) |
Port internal TS code to JS (#6793)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/js/version.ts')
-rw-r--r-- | cli/js/version.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/cli/js/version.ts b/cli/js/version.ts deleted file mode 100644 index 30157af04..000000000 --- a/cli/js/version.ts +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. - -interface Version { - deno: string; - v8: string; - typescript: string; -} - -export const version: Version = { - deno: "", - v8: "", - typescript: "", -}; - -export function setVersions( - denoVersion: string, - v8Version: string, - tsVersion: string, -): void { - version.deno = denoVersion; - version.v8 = v8Version; - version.typescript = tsVersion; - - Object.freeze(version); -} |