diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-07-03 15:09:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 16:09:54 +0200 |
commit | 3242e2718fdbbdb6d1855c0f694e816f9af3f09c (patch) | |
tree | ee058f886a717a1571d247ef94d95ace14ef4055 /tests | |
parent | 496ea5903bbe8e86185c30fc6f478b0092d64d65 (diff) |
feat: Upgrade to TypeScript 5.5.2 (#24326)
This commit upgrades TypeScript to 5.5.2.
https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/lsp_tests.rs | 2 | ||||
-rw-r--r-- | tests/unit/version_test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/lsp_tests.rs b/tests/integration/lsp_tests.rs index 0ebe03711..e05e182cb 100644 --- a/tests/integration/lsp_tests.rs +++ b/tests/integration/lsp_tests.rs @@ -6900,7 +6900,7 @@ fn lsp_completions() { json!({ "label": "build", "kind": 6, - "detail": "const Deno.build: {\n target: string;\n arch: \"x86_64\" | \"aarch64\";\n os: \"darwin\" | \"linux\" | \"android\" | \"windows\" | \"freebsd\" | \"netbsd\" | \"aix\" | \"solaris\" | \"illumos\";\n vendor: string;\n env?: string | undefined;\n}", + "detail": "const Deno.build: {\n target: string;\n arch: \"x86_64\" | \"aarch64\";\n os: \"darwin\" | \"linux\" | \"android\" | \"windows\" | \"freebsd\" | \"netbsd\" | \"aix\" | \"solaris\" | \"illumos\";\n vendor: string;\n env?: string;\n}", "documentation": { "kind": "markdown", "value": "Information related to the build of the current Deno runtime.\n\nUsers are discouraged from code branching based on this information, as\nassumptions about what is available in what build environment might change\nover time. Developers should specifically sniff out the features they\nintend to use.\n\nThe intended use for the information is for logging and debugging purposes.\n\n*@category* - Runtime" diff --git a/tests/unit/version_test.ts b/tests/unit/version_test.ts index bc0297f23..96319c630 100644 --- a/tests/unit/version_test.ts +++ b/tests/unit/version_test.ts @@ -6,5 +6,5 @@ Deno.test(function version() { const pattern = /^\d+\.\d+\.\d+/; assert(pattern.test(Deno.version.deno)); assert(pattern.test(Deno.version.v8)); - assertEquals(Deno.version.typescript, "5.4.5"); + assertEquals(Deno.version.typescript, "5.5.2"); }); |