[TS] Create .d.mts files by default
authorMatt Corallo <git@bluematt.me>
Sat, 15 Jan 2022 20:28:36 +0000 (20:28 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 17 Jan 2022 04:34:51 +0000 (04:34 +0000)
ts/.gitignore
ts/tsconfig.json

index ccf24f9ff08c7e4bf88375e41cb2518ff39e96c6..f17eb7be79d71fa3cf7941571a231f3994c3e6a8 100644 (file)
@@ -1,2 +1,3 @@
 *.mjs
 *.mjs.map
+*.d.mts
index 250c28f764fb7c2711fa8c99260e446723de2f7a..a2867b849f45006c7eee061f719c8a75e7ec79f4 100644 (file)
@@ -4,7 +4,9 @@
     "module": "es2020",
     "sourceMap": true,
     "esModuleInterop": false,
-    "allowSyntheticDefaultImports": true,
+    "stripInternal": true,
+
+    "allowSyntheticDefaultImports": false,
     "forceConsistentCasingInFileNames": true,
     "declaration": true,
     "strict": true,