Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/version.ts>setVersions

A modern runtime for JavaScript and TypeScript.
Go to Latest
function setVersions
import { setVersions } from "https://deno.land/x/deno@v0.30.0/cli/js/version.ts";

Sets the deno, v8, and typescript versions and freezes the version object.

Parameters

denoVersion: string
v8Version: string
tsVersion: string