🤖 Pick PR #58895 (Fix global when typescript.js loade...) into release-5.5 (#58896)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
This commit is contained in:
TypeScript BotandJake Bailey authored and GitHub committed 2024-06-17 17:08:13 -07:00
1 parent 45b1e3c254
commit 02132e5b81
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ for (const browserType of browsers) {
await page.setContent(`
<html>
<script>${readFileSync(join("built", "local", "typescript.js"), "utf8")}</script>
<script>if (typeof ts.version !== "string") throw new Error("ts.version not set")</script>
</html>
`);