Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit 5563ae8

Browse files
authored
Enable Node typings in TypeScript 5.9.3 package (#44)
1 parent 060ad34 commit 5563ae8

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

packages/typescript/5.9.3/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ source ../../node/24.12.0/build.sh
44

55
source ./environment
66

7-
bin/npm install -g typescript@5.9.3
7+
bin/npm install -g typescript@5.9.3 @types/node@24.1.0

packages/typescript/5.9.3/compile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
#!/usr/bin/env bash
22

3+
SOURCE_NODE_MODULES_DIR="/piston/packages/typescript/5.9.3/lib/node_modules"
4+
TARGET_NODE_MODULES_DIR="node_modules"
5+
6+
ln -s "$SOURCE_NODE_MODULES_DIR" "$TARGET_NODE_MODULES_DIR"
7+
38
tsc *.ts

packages/typescript/5.9.3/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
console.log('OK');
2+
process.exit(0);

0 commit comments

Comments
 (0)