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.
2 parents bee3de2 + b58cf73 commit 7d53e56Copy full SHA for 7d53e56
tools/scripts/ditslint.sh
@@ -1,2 +1,9 @@
1
#!/bin/bash
2
+
3
+# IMPORTANT NOTE
4
+# The following line removes TS installed by dtslint because it caused a failure on Node.js < 12.
5
+# dtslint in its current version installs typescript@next which is failing on older Node.js.
6
+# Using --localTs does not fix the issue because interpreter first gets the code of dtslint and its dependencies.
7
+rm -rf node_modules/dtslint/node_modules/typescript
8
9
dtslint --expectOnly --localTs node_modules/typescript/lib types
0 commit comments