We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9d50db commit 17c524aCopy full SHA for 17c524a
.evergreen/run-typescript.sh
@@ -44,8 +44,12 @@ if [ "$TS_CHECK" == "COMPILE_DRIVER" ]; then
44
npm run build:ts
45
elif [ "$TS_CHECK" == "CHECK_TYPES" ]; then
46
echo "checking driver types"
47
+ if [ "$TS_VERSION" == "4.4" ]; then
48
# check compilation
49
+ node $TSC mongodb.d.ts --module commonjs --target es2021
50
+ else
51
node $TSC mongodb.d.ts --module node16 --target es2021
52
+ fi
53
else
54
"Invalid value $TS_CHECK for TS_CHECK environment variable."
55
exit 1
0 commit comments